Move wsgi into the actual project root.
[htsworkflow.git] / wsgi.py
diff --git a/wsgi.py b/wsgi.py
new file mode 100644 (file)
index 0000000..ef6bb98
--- /dev/null
+++ b/wsgi.py
@@ -0,0 +1,19 @@
+"""
+WSGI config for htsworkflow 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
+import sys
+WSGIAPP = os.path.join(os.path.dirname(__file__))
+
+sys.path.append(WSGIAPP)
+
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "htsworkflow.settings")
+
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()