Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 3185095 Sep 9, 2012
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial commit Sep 9, 2012
LICENSE initial commit Sep 9, 2012
MANIFEST.in
README.rst
dj_search_url.py
setup.py fix the name Sep 9, 2012

README.rst

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
You can’t perform that action at this time.