diff --git a/www/wsgi.py b/www/wsgi.py new file mode 100644 index 00000000..5c5d4c12 --- /dev/null +++ b/www/wsgi.py @@ -0,0 +1,7 @@ +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'conservancy.settings') + +application = get_wsgi_application() diff --git a/www/wsgicustom.wsgi b/www/wsgicustom.wsgi deleted file mode 100644 index b64d8b9d..00000000 --- a/www/wsgicustom.wsgi +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env python - -import os -import sys - -# Work around -import _strptime - -root_dir = os.path.abspath(os.path.dirname(__file__)) -sys.path.insert(0, root_dir) -os.environ['DJANGO_SETTINGS_MODULE'] = 'conservancy.settings' - -from django.core.wsgi import get_wsgi_application -application = get_wsgi_application()