Installation¶
Requirements¶
Django Dispatch requires:
Python 3.8 or newer
Django 3.2 or newer
Redis (for the Redis Stream backend)
Installing Django Dispatch¶
You can install Django Dispatch using pip:
pip install django-broadcaster
Or if you’re using uv:
uv add django-broadcaster
Adding to Your Django Project¶
Add
django_broadcasterto yourINSTALLED_APPSin your Django settings:INSTALLED_APPS = [ # ... other apps 'django_broadcaster', ]
Run migrations to create the necessary database tables:
python manage.py migrate django_broadcaster
Configure the publisher backends in your Django settings (see Configuration for details):
OUTBOX_PUBLISHERS = { 'default': { 'BACKEND': 'django_broadcaster.backends.RedisStreamBackend', 'OPTIONS': { 'host': 'localhost', 'port': 6379, 'stream_name': 'events', } } }
Next Steps¶
Once you have installed Django Dispatch, you can:
Learn about Configuration options
See Usage examples
Explore available Backends