You can install recent available version from PyPI:
pip install asgi_rabbitmq
Add following lines to your django settings
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'asgi_rabbitmq.RabbitmqChannelLayer',
# Change according to your project layout:
'ROUTING': 'myproject.routing.routes',
'CONFIG': {
'url': 'amqp://guest:guest@rabbitmq:5672/%2F',
},
},
}
url
in the example above must be written according to the pika
URLParameters documentation.