Skip to content

dstufft/dj-search-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DJ-SEARCH-URL

This simple Django utility allows you to utilize the 12factor inspired SEARCH_URL environment variable to configure your Haystack application.

Usage

Configure your Search index in settings.py from SEARCH_URL:

HAYSTACK_CONNECTIONS = {"default": dj_search_url.conf()}

Parse an arbitrary Database URL:

HAYSTACK_CONNECTIONS = {"default": dj_search_url.conf("elasticsearch://..")}

Installation

Installation is simple too:

$ pip install dj-search-url

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages