GitXplorerGitXplorer
d

dj-search-url

public
21 stars
4 forks
2 issues

Commits

List of commits on branch master.
Unverified
3185095eed15ce8e0a83e693d2d2269794a146b3

fix the name

ddstufft committed 12 years ago
Unverified
e46427207fe5b98da2df97c94703031ab8f6b900

Add the dj_search_url module

ddstufft committed 12 years ago
Unverified
500d1706181b5dbba99e2a30c26b2806b1445707

initial commit

ddstufft committed 12 years ago

README

The README file for this repository.

DJ-SEARCH-URL

This simple Django utility allows you to utilize the 12factor <http://www.12factor.net/backing-services>_ 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