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.
Metadata
Release files for django-haystack-channels 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-haystack-channels-0.0.3.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_haystack_channels-0.0.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / django-haystack-channels-0.0.3.tar.gz
| Download URL | django-haystack-channels-0.0.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc2970846cbb3e0832add1a25fbf2ada558805f79dffae7b9e6769999c0b43bf
|
|
BLAKE2b-256 checksum How to use checksums |
4f42e20636819eece46c4edc93ca96886d6de7cdec9564e056a6907617ea9cd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_haystack_channels-0.0.3-py2.py3-none-any.whl
| Download URL | django_haystack_channels-0.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f6d3113d1c5e82a26f201de6603342de6469e62f4934bfcd6a70e7f048bb4b27
|
|
BLAKE2b-256 checksum How to use checksums |
521bb00349b16080ab1728bf3b98b75f1db431085d653e6477890d7334da8481
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |