From 6439403111bd2fa9ced3c62445c20ca2e3ad4959 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Tue, 17 Dec 2013 11:14:35 -0800 Subject: [PATCH] add new wsgi.py driver --- htsworkflow/wsgi.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 htsworkflow/wsgi.py diff --git a/htsworkflow/wsgi.py b/htsworkflow/wsgi.py new file mode 100644 index 0000000..2632918 --- /dev/null +++ b/htsworkflow/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(os.path.abspath(os.path.join(WSGIAPP, '..'))) + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "htsworkflow.settings") + +from django.core.wsgi import get_wsgi_application +application = get_wsgi_application() -- 2.30.2