[Python-checkins] r85165 - tracker/instances/python-dev/rietveld.wsgi

martin.v.loewis python-checkins at python.org
Sat Oct 2 11:31:23 CEST 2010


Author: martin.v.loewis
Date: Sat Oct  2 11:31:23 2010
New Revision: 85165

Log:
Add mod_wsgi script


Added:
   tracker/instances/python-dev/rietveld.wsgi   (contents, props changed)

Added: tracker/instances/python-dev/rietveld.wsgi
==============================================================================
--- (empty file)
+++ tracker/instances/python-dev/rietveld.wsgi	Sat Oct  2 11:31:23 2010
@@ -0,0 +1,8 @@
+import os, sys
+sys.path.append('/home/roundup/trackers/tracker/rietveld')
+os.environ['DJANGO_SETTINGS_MODULE']='settings'
+import django.core.handlers.wsgi
+import gae2django
+gae2django.install(server_software='Django')
+application = django.core.handlers.wsgi.WSGIHandler()
+


More information about the Python-checkins mailing list