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
Metadata
Release files for dj-search-url 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dj-search-url-0.1.tar.gz | 2.8 kB | Without provenance | Details |
Release files / dj-search-url-0.1.tar.gz
| Download URL | dj-search-url-0.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
424d1a5852500b3c118abfdd0e30b3e0016fe68e7ed27b8553a67afa20d4fb40
|
|
BLAKE2b-256 checksum How to use checksums |
90c5a280b7ea455e393da3beb11656eccbcb13aee22ba9a42c0f0de7b638b9fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dj-search-url 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.