summaryrefslogtreecommitdiff
path: root/config/wsgi.py
diff options
context:
space:
mode:
authorspl3g <spleefer6@gmail.com>2026-05-28 18:55:00 +0300
committerspl3g <spleefer6@gmail.com>2026-05-29 21:18:21 +0300
commit9a7ca8a6cbab866d6ce6b1eb12e5977f7f2a9367 (patch)
treefd7fc37559f8cb35d7a4ad90cefb3231699baac2 /config/wsgi.py
init
Diffstat (limited to 'config/wsgi.py')
-rw-r--r--config/wsgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/wsgi.py b/config/wsgi.py
new file mode 100644
index 0000000..10ecb99
--- /dev/null
+++ b/config/wsgi.py
@@ -0,0 +1,16 @@
+"""
+WSGI config for shoes 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', 'shoes.settings')
+
+application = get_wsgi_application()