visit i18n/js/horizon+openstack_dashboard/ need account for login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I use horizon version: horizon-13.0.0
In the console prompt a lot of mistakes when i open login url,it shows "gettext is not defined"
Then, i found url `i18n/js/
I edit `horizon/base.py` and add this line: `if pattern.name == 'jsi18n': continue #skip auth Tag1` in function _decorate_urlconf, then, it's good
def _decorate_
for pattern in urlpatterns:
if getattr(pattern, 'callback', None):
if pattern.name == 'jsi18n': continue #skip auth Tag1
if django.VERSION >= (1, 10):
else:
# prior to 1.10 callback was a property and we had
# to modify the private attribute behind the property
if getattr(pattern, 'url_patterns', []):
where is my wrong configuration?
Please help
Changed in horizon: | |
status: | New → Fix Released |
It looks like a duplicate of bug 1753557.