test for asgi

This commit is contained in:
2025-07-14 21:33:03 +08:00
parent 2d3588c755
commit a9a6b87fef
2 changed files with 8 additions and 1 deletions

7
oj/asgi.py Normal file
View File

@@ -0,0 +1,7 @@
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "oj.settings")
application = get_asgi_application()