enable plugins to override templates

Currently, templates provided by plugins will searched with
last priority, thus overriding via plugins is currently not
possible.

Change-Id: I05981b75e147d5e1ae952144d4acc8c909513444
Closes-Bug: #1289305
This commit is contained in:
Matthias Runge 2014-03-07 12:54:48 +01:00
parent dbd4b413f9
commit 90c3ac1d47
2 changed files with 2 additions and 2 deletions

View File

@ -481,7 +481,7 @@ A dictionary of exception classes to be added to ``HORIZON['exceptions']``.
``ADD_INSTALLED_APPS``
----------------------
A list of applications to be added to ``INSTALLED_APPS``.
A list of applications to be prepended to ``INSTALLED_APPS``.
``DISABLED``
------------

View File

@ -103,4 +103,4 @@ def update_dashboards(modules, horizon_config, installed_apps):
horizon_config['panel_customization'] = panel_customization
horizon_config['dashboards'] = tuple(dashboards)
horizon_config['exceptions'].update(exceptions)
installed_apps.extend(apps)
installed_apps[:] = apps + installed_apps