Add initial Django project structure with ASGI, WSGI, settings, URLs, and manage.py

This commit is contained in:
Joakim Hellsén 2025-07-08 01:36:20 +02:00
commit f149d9190a
6 changed files with 198 additions and 0 deletions

16
config/asgi.py Normal file
View file

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