Helper code to connect Haystack to Django Channels
Project description
Add asynchronous search index updates to your django app with this drop-in support for django, django-channels and haystack!
Install from pip or github
Add haystack_channels to INSTALLED_APPS
Update your projects channels routing:
from channels.routing import route, route_class, include from haystack_channels.routing import channel_routing as haystack_channel_routing channel_routing = [ # your routes include(haystack_channel_routing) ]
Update your HAYSTACK_SIGNAL_PROCESSOR:
HAYSTACK_SIGNAL_PROCESSOR = 'haystack_channels.signals.ChannelsAsyncSignalProcessor'
Or inherit from ChannelsAsyncSignalProcessor and ChannelsAsyncSignalConsumer to build a custom version optimised for your app.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-haystack-channels-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc2970846cbb3e0832add1a25fbf2ada558805f79dffae7b9e6769999c0b43bf |
|
MD5 | fdb3c58e1c0ffcc2d3b663d1500e940c |
|
BLAKE2b-256 | 4f42e20636819eece46c4edc93ca96886d6de7cdec9564e056a6907617ea9cd2 |
Close
Hashes for django_haystack_channels-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6d3113d1c5e82a26f201de6603342de6469e62f4934bfcd6a70e7f048bb4b27 |
|
MD5 | 8caeb7f706ebc964a4ec618610572348 |
|
BLAKE2b-256 | 521bb00349b16080ab1728bf3b98b75f1db431085d653e6477890d7334da8481 |