Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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!

  1. Install from pip or github

  2. Add haystack_channels to INSTALLED_APPS

  3. 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

    HAYSTACK_SIGNAL_PROCESSOR = 'haystack_channels.signals.ChannelsAsyncSignalProcessor'

Or inherit from ChannelsAsyncSignalProcessor and ChannelsAsyncSignalConsumer to build a custom version optimised for your app.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-haystack-channels, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size django_haystack_channels-0.0.3-py2.py3-none-any.whl (4.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-haystack-channels-0.0.3.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page