# HG changeset patch # User Brian Neal # Date 1429147753 18000 # Node ID 92b4baa0383b9219f35b632f8a6e53c12a5416c5 # Parent 1354c3d651eb0ad07a46966a3b3ccc10c60dd421 Update WSGI script for Django 1.7.7. diff -r 1354c3d651eb -r 92b4baa0383b sg101/apache/sg101.wsgi --- a/sg101/apache/sg101.wsgi Wed Apr 15 20:27:05 2015 -0500 +++ b/sg101/apache/sg101.wsgi Wed Apr 15 20:29:13 2015 -0500 @@ -35,8 +35,8 @@ if not OFFLINE: os.environ['DJANGO_SETTINGS_MODULE'] = 'sg101.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