demo version on how to dockerise a django project
at main 16 lines 413 B view raw
1""" 2ASGI config for django_docker_demo project. 3 4It exposes the ASGI callable as a module-level variable named ``application``. 5 6For more information on this file, see 7https://docs.djangoproject.com/en/5.0/howto/deployment/asgi/ 8""" 9 10import os 11 12from django.core.asgi import get_asgi_application 13 14os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_docker_demo.settings") 15 16application = get_asgi_application()