Mercurial > public > madeira
changeset 166:491f0acbaeaf
Update WSGI script for Django 1.7 upgrade.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 02 Apr 2015 20:25:48 -0500 |
parents | 1f55bb14833d |
children | 1b5b9be17764 |
files | madeira/apache/madeira.wsgi |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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