aboutsummaryrefslogtreecommitdiffstats
path: root/example/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/wsgi.py')
-rw-r--r--example/wsgi.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/wsgi.py b/example/wsgi.py
new file mode 100644
index 0000000..f87faba
--- /dev/null
+++ b/example/wsgi.py
@@ -0,0 +1,7 @@
+"""WSGI config for example project."""
+
+import os
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "example.settings")
+
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()