diff options
author | raylu <ray.lu@getclever.com> | 2013-06-12 19:12:30 -0700 |
---|---|---|
committer | raylu <ray.lu@getclever.com> | 2013-06-12 19:12:30 -0700 |
commit | 9decbd2ffdf6d55cdc0ddb98727a1f8c6f88e588 (patch) | |
tree | 7e9fee33f0ea6c11cb63f7dda30f5c2dece09fa0 /wsgi.py | |
parent | 9e2a09e7254b3ad89d43c96be9229590518e9737 (diff) | |
download | pyc-9decbd2ffdf6d55cdc0ddb98727a1f8c6f88e588.tar.xz |
run fcgi (not dotcloud), django 1.5
also, fix link on submit.html page
Diffstat (limited to 'wsgi.py')
-rw-r--r-- | wsgi.py | 12 |
1 files changed, 0 insertions, 12 deletions
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) |