diff --git a/SpiderWebsite/SpiderWebsite/asgi.py b/SpiderWebsite/SpiderWebsite/asgi.py index e69de29..0ba41b5 100644 --- a/SpiderWebsite/SpiderWebsite/asgi.py +++ b/SpiderWebsite/SpiderWebsite/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for SpiderWebsite 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.2/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'SpiderWebsite.settings') + +application = get_asgi_application() \ No newline at end of file