summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archweb.wsgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/archweb.wsgi b/archweb.wsgi
index f8de2b49..a0d969e7 100644
--- a/archweb.wsgi
+++ b/archweb.wsgi
@@ -30,8 +30,8 @@ try:
except ImportError:
pass
-import django.core.handlers.wsgi
-application = django.core.handlers.wsgi.WSGIHandler()
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()
if using_newrelic:
application = newrelic.agent.wsgi_application()(application)