Skip to main content
https://badge.fury.io/py/dj-haystack-url.png https://travis-ci.org/simpleenergy/dj-haystack-url.png?branch=master https://pypip.in/d/dj-haystack-url/badge.png

Haystack configuration from environment variable

  • Free software: MIT license

Supported Backends

Support currently exists for Simple, Whoosh, Elasticsearch, Solr, and Xapian backends.

Installation

Installation is simple:

$ pip install dj-haystack-url

Usage

Configure your Haystack connections in settings.py from HAYSTACK_CONNECTIONS (default is optional):

HAYSTACK_CONNECTIONS = {'default': dj_haystack_url.config(default='simple')}

Parse an arbitrary Haystack connection URL:

HAYSTACK_CONNECTIONS = {'default': dj_haystack_url.parse('simple')}

URL schema

Engine

Haystack Backend

URL

Simple

haystack.backends.simple_backend.SimpleEngine

simple

Whoosh

haystack.backends.whoosh_backend.WhooshEngine

whoosh:PATH [1]

Elasticsearch

haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine

elasticsearch:URL/INDEX_NAME

Solr

haystack.backends.solr_backend.SolrEngine

solr:URL

Xapian

xapian_backend.XapianEngine

xapian:PATH [1]

History

0.1.0 (2014-01-11)

  • First release on PyPI.

Release files for dj-haystack-url 0.2.0

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-haystack-url 0.2.0
File Size Uploaded
dj-haystack-url-0.2.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dj-haystack-url 0.2.0
File Interpreter ABI Platform
dj_haystack_url-0.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 9.9 kB

Release files / dj-haystack-url-0.2.0.tar.gz

Download URL dj-haystack-url-0.2.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bab8f2af8a28816b41f09da8f509bfe6b0c1f57e19f057de36ae4a0170188bf8
BLAKE2b-256 checksum
How to use checksums
d79e54ab353662f62db806f2509181b1c8fdebecb4f6037f3f25822b3e86c10c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dj_haystack_url-0.2.0-py2.py3-none-any.whl

Download URL dj_haystack_url-0.2.0-py2.py3-none-any.whl
Size 4.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f4c301ccfaa567ca044bf3a2221da345d23f14a18e5f629cedc927c7bee3a2c6
BLAKE2b-256 checksum
How to use checksums
0a77e45a0e5cc533ba7a2df0bc364e289cc2f29cac0c1b409cae5ad5a42a82de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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