Skip to main content

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

Release files for dj-searchurl 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dj-searchurl 0.1
File Size Uploaded
dj-searchurl-0.1.tar.gz 2.8 kB Details

Release files / dj-searchurl-0.1.tar.gz

Download URL dj-searchurl-0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
41ed4a3622bd52243fc572f74f68f6731882e6a052660ea4a306cea45c9cb6d1
BLAKE2b-256 checksum
How to use checksums
43a277ca4cb35f4bfe1cbba7655a0c12df3ebb0de517824550351485d79c2b47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page