- desktop/ → examples/django-react-desktop-app/ - e2e/ → examples/django-react-site/ - example/ → examples/django-react-site/backend/ - Update Dockerfile.test, Makefile, playwright config, and django.config.mjs path references Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
351 B
Python
15 lines
351 B
Python
import os
|
|
|
|
import django
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "testapp.settings")
|
|
django.setup()
|
|
|
|
from django.core.asgi import get_asgi_application
|
|
from mizan import wrap_asgi
|
|
|
|
# Register server functions and channels before building the ASGI app
|
|
import testapp.mizan_clients # noqa: F401
|
|
|
|
application = wrap_asgi(get_asgi_application())
|