Skip to main content

Use Search URLs in your Django Haystack Application.

Project description

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

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dj-searchurl, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size dj-searchurl-0.1.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page