Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
[Bug 1196244] Make wsgi script compatible with Django 1.7x
Browse files Browse the repository at this point in the history
  • Loading branch information
johngian committed Aug 21, 2015
1 parent e24ce35 commit 6b23183
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions wsgi/playdoh.wsgi
Expand Up @@ -22,8 +22,9 @@ site.addsitedir(os.path.abspath(os.path.join(wsgidir, '../')))
# manage adds /apps, /lib, and /vendor to the Python path.
import manage

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
import django.core.wsgi.get_wsgi_application

application = django.core.wsgi.get_wsgi_application()

if newrelic:
application = newrelic.agent.wsgi_application()(application)
application = newrelic.agent.wsgi_application()(application)

0 comments on commit 6b23183

Please sign in to comment.