Skip to content

Commit 47aed55

Browse files
author
Peter Kuma
committed
Use older wsgi handler for compat w dj1.3.
1 parent 5fa4e38 commit 47aed55

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

fileshackproject/wsgi.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@
2222
# This application object is used by any WSGI server configured to use this
2323
# file. This includes Django's development server, if the WSGI_APPLICATION
2424
# setting points here.
25-
from django.core.wsgi import get_wsgi_application
26-
application = get_wsgi_application()
25+
#from django.core.wsgi import get_wsgi_application
26+
#application = get_wsgi_application()
27+
28+
import django.core.handlers.wsgi
29+
application = django.core.handlers.wsgi.WSGIHandler()
2730

2831
# Apply WSGI middleware here.
2932
# from helloworld.wsgi import HelloWorldApplication

0 commit comments

Comments
 (0)