summaryrefslogtreecommitdiff
path: root/journal/wsgi.py
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2024-07-14 15:30:27 -0500
committerMark Powers <mark@marks.kitchen>2024-07-14 15:30:27 -0500
commitad232020d57d2c77dfd5400dc4a8290b484c8ba2 (patch)
tree3e2121666986c67fe554a1e9046682b7370d412e /journal/wsgi.py
Initial commitmain
Diffstat (limited to 'journal/wsgi.py')
-rw-r--r--journal/wsgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/journal/wsgi.py b/journal/wsgi.py
new file mode 100644
index 0000000..b172983
--- /dev/null
+++ b/journal/wsgi.py
@@ -0,0 +1,16 @@
+"""
+WSGI config for journal 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/5.0/howto/deployment/wsgi/
+"""
+
+import os
+
+from django.core.wsgi import get_wsgi_application
+
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'journal.settings')
+
+application = get_wsgi_application()