Files
2022_oknardia/oknardia/oknardia/asgi.py
2022-10-09 00:19:45 +03:00

17 lines
525 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""
Конфигурация ASGI для проекта oknardia.
Он предоставляет вызываемый ASGI как переменную уровня модуля с именем «application».
Дополнительные сведения об этом файле см.
https://docs.djangoproject.com/en/4.1/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'oknardia.settings')
application = get_asgi_application()