summaryrefslogtreecommitdiffstats
path: root/welco/wsgi.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2015-07-02 08:46:33 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2015-07-02 08:46:33 (GMT)
commit26feb97617b92b964eacb1a1b1050ec5d4a4db1d (patch)
tree2a78b97c755a1e9ddf5b2bd7b8a796d795ae8bfb /welco/wsgi.py
downloadwelco-26feb97617b92b964eacb1a1b1050ec5d4a4db1d.zip
welco-26feb97617b92b964eacb1a1b1050ec5d4a4db1d.tar.gz
welco-26feb97617b92b964eacb1a1b1050ec5d4a4db1d.tar.bz2
django-admin.py startproject welco
Diffstat (limited to 'welco/wsgi.py')
-rw-r--r--welco/wsgi.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/welco/wsgi.py b/welco/wsgi.py
new file mode 100644
index 0000000..59a1867
--- /dev/null
+++ b/welco/wsgi.py
@@ -0,0 +1,14 @@
+"""
+WSGI config for welco 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/1.7/howto/deployment/wsgi/
+"""
+
+import os
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "welco.settings")
+
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()