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/129222 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=e5a9037d2ff 5f2fbd5bde8e073 e90b8d290994d3
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit e5a9037d2ff5f2f bd5bde8e073e90b 8d290994d3
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