summaryrefslogtreecommitdiff
path: root/elgarito/wsgi.py
diff options
context:
space:
mode:
authorJoaquín Aguirrezabalaga <kinote@kinote.org>2014-01-03 01:06:22 +0100
committerJoaquín Aguirrezabalaga <kinote@kinote.org>2014-01-03 01:06:40 +0100
commitf05c5e2d8a705df1c94b63a978267b291c893bbb (patch)
treea8bd95e9cc2c0bd48be57893ccc4ddec63152d29 /elgarito/wsgi.py
parent802a74102b9073e961ef1d7a487f99b962d76512 (diff)
downloadelgarito-master.tar.gz
elgarito-master.zip
django 1.6HEADmaster
Diffstat (limited to 'elgarito/wsgi.py')
-rw-r--r--elgarito/wsgi.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/elgarito/wsgi.py b/elgarito/wsgi.py
new file mode 100644
index 0000000..2529520
--- /dev/null
+++ b/elgarito/wsgi.py
@@ -0,0 +1,14 @@
+"""
+WSGI config for elgarito 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.6/howto/deployment/wsgi/
+"""
+
+import os
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "elgarito.settings")
+
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()