← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1568764] [NEW] impossible to modify template loaders when customizon horizon

 

Public bug reported:

When customizing horizon as per:
http://docs.openstack.org/developer/horizon/topics/customizing.html#modifying-existing-dashboards-and-panels

we need to modify TEMPLATE_LOADERS in local settings, usually horizon customizers need:
https://pypi.python.org/pypi/django-apptemplates/

To extend original templates with ease

Since this patch:
https://review.openstack.org/#/c/281976/

horizon simply nukes any attempt to modify TEMPLATE_LOADERS because they
are redifined after loading the local_settings. therefore customizing
horizon is impossible without doing horizon code intrusion.

** Affects: horizon
     Importance: Undecided
     Assignee: Yves-Gwenael Bourhis (yves-gwenael-bourhis)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Yves-Gwenael Bourhis (yves-gwenael-bourhis)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1568764

Title:
  impossible to modify template loaders when customizon horizon

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When customizing horizon as per:
  http://docs.openstack.org/developer/horizon/topics/customizing.html#modifying-existing-dashboards-and-panels

  we need to modify TEMPLATE_LOADERS in local settings, usually horizon customizers need:
  https://pypi.python.org/pypi/django-apptemplates/

  To extend original templates with ease

  Since this patch:
  https://review.openstack.org/#/c/281976/

  horizon simply nukes any attempt to modify TEMPLATE_LOADERS because
  they are redifined after loading the local_settings. therefore
  customizing horizon is impossible without doing horizon code
  intrusion.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1568764/+subscriptions


Follow ups