Skip to content

Commit 731744c

Browse files
committed
Fix django 1.7 incompatibilities: Upgrade wsgi.py according to https://docs.djangoproject.com/en/1.7/releases/1.7/#wsgi-scripts
- Legacy-Id: 8829
1 parent 43dbe3b commit 731744c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/wsgi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@
4747

4848
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ietf.settings")
4949

50-
import django.core.handlers.wsgi
51-
application = django.core.handlers.wsgi.WSGIHandler()
50+
from django.core.wsgi import get_wsgi_application
51+
application = get_wsgi_application()
5252

0 commit comments

Comments
 (0)