Debian Codegraph @

/

debian django-haystack-redis 0.0.1-3debian python3-django-haystack-redis debianinimakefilepythonshellyaml 12 files · 46 symbols
View dependency graph

Depends on

README (full)

haystack-redis

A Whoosh storage engine using redis for persistence. A Haystack SearchBackend subclass is also provided. Normally the STORAGE key could just be set but Haystack 2.0.0beta is only aware of file and ram backends.

This is especially useful for small sites hosted on Heroku, which does not allow writing to local disk. The REDISTOGO_URL environment variable is read, falling back to the localhost default port.

Code is based on maxpert’s snippet (see blog post)

Usage

Configure your Haystack connections in settings.py::

import tempfile HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE': 'haystack_redis.RedisEngine', 'PATH': tempfile.gettempdir(), }, }

Installation

$ pip install haystack-redis

dir debian/
dir haystack_redis.egg-info/
file LICENSE
file PKG-INFO
file README.rst
file haystack_redis.py
file setup.cfg
file setup.py