summaryrefslogtreecommitdiff
path: root/config/asgi.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/asgi.py
init
Diffstat (limited to 'config/asgi.py')
-rw-r--r--config/asgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/asgi.py b/config/asgi.py
new file mode 100644
index 0000000..7f391de
--- /dev/null
+++ b/config/asgi.py
@@ -0,0 +1,16 @@
+"""
+ASGI config for shoes 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', 'shoes.settings')
+
+application = get_asgi_application()