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-searchurl-0.1.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file dj-searchurl-0.1.tar.gz.

File metadata

  • Download URL: dj-searchurl-0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dj-searchurl-0.1.tar.gz
Algorithm Hash digest
SHA256 41ed4a3622bd52243fc572f74f68f6731882e6a052660ea4a306cea45c9cb6d1
MD5 988ac202709bb16a3c23bec2979dec41
BLAKE2b-256 43a277ca4cb35f4bfe1cbba7655a0c12df3ebb0de517824550351485d79c2b47

See more details on using hashes here.

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