InfoTech-Backend/infotech/config/asgi.py

17 lines
407 B
Python
Raw Normal View History

2023-03-21 20:53:14 +08:00
"""
ASGI config for infotech 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/4.1/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
2023-03-21 20:54:44 +08:00
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
2023-03-21 20:53:14 +08:00
application = get_asgi_application()