Notifications Guide
When To Use It
Use notifications when your project needs email content models, message payload builders, delivery adapters, and optional ARQ-backed background dispatch.
Add The Scaffold
codex-django add-notifications --app system --project myproject
If your ARQ client should live outside the default location, pass --arq-dir.
What Gets Added
- notification feature files under
features/<app_name>/ - ARQ client scaffolding under
core/arq/or your custom target
Follow-Up Wiring
- Register
EmailContentin admin. - Run migrations.
- Set
ARQ_REDIS_URLin Django settings. - Extend
NotificationServicewith your project-specific events.
Runtime Entry Points
codex_django.notificationscodex_django.notifications.adapterscodex_django.notifications.mixins
Related Reading
- Architecture:
notifications - API reference:
codex_django.notifications