From: Diane Trout Date: Mon, 23 Dec 2013 22:28:30 +0000 (-0800) Subject: Move wsgi into the actual project root. X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=06a5b0b1f0dbabd1d8aa6d58c830221f6089a30b Move wsgi into the actual project root. --- diff --git a/htsworkflow/wsgi.py b/htsworkflow/wsgi.py deleted file mode 100644 index 2632918..0000000 --- a/htsworkflow/wsgi.py +++ /dev/null @@ -1,19 +0,0 @@ -""" -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() diff --git a/wsgi.py b/wsgi.py new file mode 100644 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()