From 65856591627c1133527d7e5931fd6bc8cb22df9e Mon Sep 17 00:00:00 2001 From: Cindy Lu Date: Wed, 30 Nov 2016 12:12:31 -0800 Subject: [PATCH] Update settings docs with using ANGULAR_FEATURES for dev Note in settings documentation (for upstream developers) that from Newton forward, we should use the ANGULAR_FEATURES setting instead of creating an enabled file like _3031_identity_ng_users_panel.py... and DISABLE-ing it there. This makes sure we only display one service panel at a time (either Django or Angular) and not both. Change-Id: I120011ada793eeee92fd0871e6771d755a34d7f0 --- doc/source/topics/settings.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/source/topics/settings.rst b/doc/source/topics/settings.rst index 6c7be0f0fb..731cc21305 100644 --- a/doc/source/topics/settings.rst +++ b/doc/source/topics/settings.rst @@ -67,6 +67,10 @@ Horizon Dashboards are automatically discovered in the following way: `INSTALLED_APPS `_ and importing any files that have the name ``"dashboard.py"`` and include code to register themselves as a Horizon dashboard. +* For upstream development since Newton, please use ``ANGULAR_FEATURES`` setting to + toggle Angular panel features, instead of defining an enabled file for the + Angular panel. Then use ``settings.ANGULAR_FEATURES[]`` in your urls.py. + This enforces showing one service panel in the dashboard at a time. By default, dashboards defined by ``openstack_dashboard/local/enabled`` are displayed first in the alphabetical order of the config files, and then the