Files
codeql/python/ql/test/library-tests/frameworks/django-v2-v3/testproj/asgi.py
2024-09-10 14:32:39 +02:00

17 lines
439 B
Python

"""
ASGI config for testproj 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/3.1/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'testproj.settings') # $ threatModelSource[environment]=os.environ
application = get_asgi_application()