** Changed in: horizon
Status: New => Fix Released
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
visit i18n/js/horizon+openstack_dashboard/ need account for login
Status in OpenStack Dashboard (Horizon):
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/horizon+openstack_dashboard/` need to login
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_urlconf(urlpatterns, decorator, *args, **kwargs):
for pattern in urlpatterns:
if getattr(pattern, 'callback', None):
if pattern.name == 'jsi18n': continue #skip auth Tag1
decorated = decorator(pattern.callback, *args, **kwargs)
if django.VERSION >= (1, 10):
pattern.callback = decorated
# prior to 1.10 callback was a property and we had
# to modify the private attribute behind the property
pattern._callback = decorated
if getattr(pattern, 'url_patterns', ):
_decorate_urlconf(pattern.url_patterns, decorator, *args,
where is my wrong configuration?
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp