Rename the package from djarea to mizan across the entire codebase — Python package, React library, generators, tests, and examples. Fix JSX/hook casing (MizanProvider, useMizan, etc.) that broke when the original PascalCase names were lowercased during the rename. 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())
|