Permalink
Browse files

Use older wsgi handler for compat w dj1.3.

  • Loading branch information...
1 parent 5fa4e38 commit 47aed55a70427176c075fc9176467f81a3babb99 @peterkuma committed Mar 21, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 fileshackproject/wsgi.py
View
@@ -22,8 +22,11 @@
# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
# setting points here.
-from django.core.wsgi import get_wsgi_application
-application = get_wsgi_application()
+#from django.core.wsgi import get_wsgi_application
+#application = get_wsgi_application()
+
+import django.core.handlers.wsgi
+application = django.core.handlers.wsgi.WSGIHandler()
# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication

0 comments on commit 47aed55

Please sign in to comment.