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.

Source Distribution

dj-search-url-0.1.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file dj-search-url-0.1.tar.gz.

File metadata

File hashes

Hashes for dj-search-url-0.1.tar.gz
Algorithm Hash digest
SHA256 424d1a5852500b3c118abfdd0e30b3e0016fe68e7ed27b8553a67afa20d4fb40
MD5 6b38916aae4905fd1ecd53c505b26d55
BLAKE2b-256 90c5a280b7ea455e393da3beb11656eccbcb13aee22ba9a42c0f0de7b638b9fe

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page