Comment 2 for bug 1382023

Revision history for this message
Julie Pichon (jpichon) wrote :

Replacing our import + wsgi app creation function in django.wsgi [1] appears to resolve the problem:

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

Looking at the Django source all the way back to 1.4 [2], it looks like we should be able to use this safely without breaking backwards-compatibility. Woohoo!

[1] https://github.com/openstack/horizon/blob/master/openstack_dashboard/wsgi/django.wsgi
[2] https://github.com/django/django/blob/1.4.15/django/core/wsgi.py