Update WSGI app creation to be compatible with Django 1.7
This resolves the following error when trying to run Horizon:
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 (back
to 1.4).
Change-Id: I1e59f2bf6633a34cfe9230aa028f345e5fa70f94
Closes-Bug: #1382023
(cherry picked from commit 686af384c201148c3aebcfbf18b2527587d70ea4)
Reviewed: https:/ /review. openstack. org/129219 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=9e777f2530f 3cecda97f4a0c2b 261afe89dc295d
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 9e777f2530f3cec da97f4a0c2b261a fe89dc295d
Author: Julie Pichon <email address hidden>
Date: Thu Oct 16 13:46:10 2014 +0100
Update WSGI app creation to be compatible with Django 1.7
This resolves the following error when trying to run Horizon:
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 (back
to 1.4).
Change-Id: I1e59f2bf6633a3 4cfe9230aa028f3 45e5fa70f94 c3aebcfbf18b252 7587d70ea4)
Closes-Bug: #1382023
(cherry picked from commit 686af384c201148