From 9decbd2ffdf6d55cdc0ddb98727a1f8c6f88e588 Mon Sep 17 00:00:00 2001 From: raylu Date: Wed, 12 Jun 2013 19:12:30 -0700 Subject: run fcgi (not dotcloud), django 1.5 also, fix link on submit.html page --- wsgi.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 wsgi.py (limited to 'wsgi.py') diff --git a/wsgi.py b/wsgi.py deleted file mode 100644 index a00e126..0000000 --- a/wsgi.py +++ /dev/null @@ -1,12 +0,0 @@ -import os, sys - -os.environ['DJANGO_SETTINGS_MODULE'] = 'pyc.settings' -sys.path.append('/home/dotcloud/current/pyc') - -import django.core.handlers.wsgi -djangoapplication = django.core.handlers.wsgi.WSGIHandler() - -def application(environ, start_response): - if 'SCRIPT_NAME' in environ: - del environ['SCRIPT_NAME'] - return djangoapplication(environ, start_response) -- cgit v1.2.3