awesome-compose/nginx-wsgi-django-mysql/django/sample/sample/asgi.py
IML dced7d7016 add nginx-wsgi-django-mysql example
Signed-off-by: IML <shino1025@naver.com>
2022-02-28 21:13:38 +09:00

17 lines
389 B
Python

"""
ASGI config for sample 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.0/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sample.settings')
application = get_asgi_application()