summaryrefslogtreecommitdiff
path: root/web_interface/django_project/wsgi.py
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2025-12-16 22:04:36 +0100
committeruser@node5.net <user@node5.net>2025-12-16 22:04:36 +0100
commit24d43660b30bd6d51da57fb1d777c8960569f980 (patch)
tree82451c33c333516fb6f88de4a2715eb2940d783b /web_interface/django_project/wsgi.py
parent133e9fd4e4248de394c3a846fe15b271dbf7ac55 (diff)
Rename django foldermain
Diffstat (limited to 'web_interface/django_project/wsgi.py')
-rw-r--r--web_interface/django_project/wsgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/web_interface/django_project/wsgi.py b/web_interface/django_project/wsgi.py
new file mode 100644
index 0000000..a5d2224
--- /dev/null
+++ b/web_interface/django_project/wsgi.py
@@ -0,0 +1,16 @@
+"""
+WSGI config for drinks_machine project.
+
+It exposes the WSGI callable as a module-level variable named ``application``.
+
+For more information on this file, see
+https://docs.djangoproject.com/en/6.0/howto/deployment/wsgi/
+"""
+
+import os
+
+from django.core.wsgi import get_wsgi_application
+
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'drinks_machine.settings')
+
+application = get_wsgi_application()