summaryrefslogtreecommitdiffstats
path: root/wsgi.py
diff options
context:
space:
mode:
authorraylu <ray.lu@getclever.com>2013-06-12 19:12:30 -0700
committerraylu <ray.lu@getclever.com>2013-06-12 19:12:30 -0700
commit9decbd2ffdf6d55cdc0ddb98727a1f8c6f88e588 (patch)
tree7e9fee33f0ea6c11cb63f7dda30f5c2dece09fa0 /wsgi.py
parent9e2a09e7254b3ad89d43c96be9229590518e9737 (diff)
downloadpyc-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.py12
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)