Update WSGI app creation to be compatible with Django 1.7 or greater
This resolves the following error when trying to run Horizon if it has
been installed via "django-admin make_web_conf --wgi":
AppRegistryNotReady: The translation infrastructure cannot be
initialized before the apps registry is ready. Check that you don't
make non-lazy gettext calls at import time.
and is backwards-compatible with our currently supported versions.
Reviewed: https:/ /review. openstack. org/225662 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=f9e864c9fca 56f2568ad78a62c 73d1f1911ce347
Committed: https:/
Submitter: Jenkins
Branch: master
commit f9e864c9fca56f2 568ad78a62c73d1 f1911ce347
Author: Yves-Gwenael Bourhis <email address hidden>
Date: Mon Sep 21 15:13:06 2015 +0200
Update WSGI app creation to be compatible with Django 1.7 or greater
This resolves the following error when trying to run Horizon if it has
been installed via "django-admin make_web_conf --wgi":
AppRegistry NotReady: The translation infrastructure cannot be
initialized before the apps registry is ready. Check that you don't
make non-lazy gettext calls at import time.
and is backwards- compatible with our currently supported versions.
Closes-Bug: #1497986 f11b38ce0dd0467 73e91e053c3
Change-Id: I643058bb82f8e0