diff --git a/horizon/templatetags/horizon.py b/horizon/templatetags/horizon.py index 57bdec6307..2e51f907b1 100644 --- a/horizon/templatetags/horizon.py +++ b/horizon/templatetags/horizon.py @@ -190,7 +190,7 @@ def jstemplate(parser, token): @register.assignment_tag def load_config(): - return conf.HORIZON_CONFIG + return conf @register.assignment_tag diff --git a/openstack_dashboard/templates/500.html b/openstack_dashboard/templates/500.html index fb51211cf0..9bef4d1a3c 100644 --- a/openstack_dashboard/templates/500.html +++ b/openstack_dashboard/templates/500.html @@ -1,7 +1,7 @@ {% load branding i18n staticfiles %} {% load load_config from horizon %} -{% load_config as HORIZON_CONFIG %} +{% load_config as CONF %} {% comment %} @@ -70,8 +70,8 @@