Skip to main content
Django logo

Django

z4j-django · Upstream project

Django AppConfig integration, zero boilerplate.

Adds z4j as a Django app. Reads DATABASES + CELERY_* from your settings, auto-registers with django_celery_beat for schedule CRUD, plays nice with django-celery-results for state. System checks warn when your setup drifts.

Install

bash
pip install z4j-django[celery]

Wire it in

python
# settings.py
INSTALLED_APPS = [
    *existing_apps,
    "z4j_django",
]

Z4J_BRAIN_URL = "https://brain.example.com"
Z4J_TOKEN = env("Z4J_TOKEN")
Z4J_HMAC_SECRET = env("Z4J_HMAC_SECRET")
What you get

Django-specific features

Django AppConfig auto-registration
django_celery_beat schedule adapter
System checks for misconfiguration
Signal-handler events (lossless during restarts)
CSRF-safe admin integration
Engine pairings

Django works with every z4j engine

The framework adapter handles lifecycle and config. Any engine adapter slots in alongside.

Other platforms

See also

Get started with z4j + Django