django-template/core/asgi.py

17 lines
385 B
Python
Raw Normal View History

2022-06-27 14:28:40 +02:00
"""
2022-07-29 15:15:22 +02:00
ASGI config for core project.
2022-06-27 14:28:40 +02:00
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.0/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
2022-07-29 15:15:22 +02:00
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings')
2022-06-27 14:28:40 +02:00
application = get_asgi_application()