# HG changeset patch # User Brian Neal # Date 1428024348 18000 # Node ID 491f0acbaeafd3e75490e59abd1e01345e40df2e # Parent 1f55bb14833d25b30c47b40bd418c27490a0c181 Update WSGI script for Django 1.7 upgrade. diff -r 1f55bb14833d -r 491f0acbaeaf madeira/apache/madeira.wsgi --- a/madeira/apache/madeira.wsgi Thu Apr 02 20:12:12 2015 -0500 +++ b/madeira/apache/madeira.wsgi Thu Apr 02 20:25:48 2015 -0500 @@ -32,7 +32,7 @@ if not OFFLINE: os.environ['DJANGO_SETTINGS_MODULE'] = 'madeira.settings.production' - import django.core.handlers.wsgi - application = django.core.handlers.wsgi.WSGIHandler() + from django.core.wsgi import get_wsgi_application + application = get_wsgi_application() else: - application = offline_handler + application = offline_handler