diff options
| author | user@node5.net <user@node5.net> | 2025-12-16 22:04:36 +0100 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2025-12-16 22:04:36 +0100 |
| commit | 24d43660b30bd6d51da57fb1d777c8960569f980 (patch) | |
| tree | 82451c33c333516fb6f88de4a2715eb2940d783b /web_interface/django_project/asgi.py | |
| parent | 133e9fd4e4248de394c3a846fe15b271dbf7ac55 (diff) | |
Rename django foldermain
Diffstat (limited to 'web_interface/django_project/asgi.py')
| -rw-r--r-- | web_interface/django_project/asgi.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/web_interface/django_project/asgi.py b/web_interface/django_project/asgi.py new file mode 100644 index 0000000..c4af364 --- /dev/null +++ b/web_interface/django_project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for drinks_machine 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/6.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'drinks_machine.settings') + +application = get_asgi_application() |
