修复了一些可能影响生产的问题

This commit is contained in:
2026-06-14 23:08:44 +08:00
parent 21bb129c5d
commit a155dc9f33
43 changed files with 66 additions and 210 deletions

View File

@@ -1,16 +1,6 @@
"""
ASGI config for a_long_dianjing project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/6.0/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'a_long_dianjing.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'a_long_dianjing.settings')
application = get_asgi_application()