django-haystack-channels 0.0.3

Creator: bradpython12

Last updated:

Add to Cart

Description:

djangohaystackchannels 0.0.3

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.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.