348069364c
This patch reduces duplication arbitrary directory choices for xstatic package locations in the static directory. It moves the xstatic configuration from the library into the settings file, and the supporting functions move to the openstack_dashboard.utils.settings module. Having the xstatic module list in settings allows deployers to add new modules. It standardises the paths the files are served from, reducing potential conflicts. It simplifies the interaction with the xstatic modules, and also uses the new MAIN variable if present to determine the entry points used. Since some of the xstatic packages were installed into special snowflakes directories (not following a pattern) the references to those (bootstrap_scss and font_awesome) have been fixed. Change-Id: Ia5be0e96fff1a4ddd6058d6b030ddf96da4b46e7 |
||
---|---|---|
.. | ||
__init__.py | ||
filters.py | ||
metering.py | ||
settings.py |