Enable to refresh details view

For now refreshing details view by browser using F5 key or reload
button, it causes 404 error from django. This patch fixes this issue.

Change-Id: I3deb51a3895ad65be6e83dac61a4a5982ac21c45
Closes-Bug: #1681627
Depends-On: I4bcffd2e222ce2df186551cceba0aa38f600d9c8
This commit is contained in:
Shu Muto 2017-06-26 17:50:24 +09:00
parent bab87425d3
commit 7bee55d925

View File

@ -19,3 +19,10 @@ PANEL_DASHBOARD = 'project'
# Python panel class of the PANEL to be added.
ADD_PANEL = 'zun_ui.content.container.containers.panel.Containers'
# The details view to be belonged to the PANEL_DASHBOARD and PANEL.
# If the details view uses ngdetails, this setting is needed to refresh the
# details view.
ADD_DETAIL_PAGES = {
'OS::Zun::Container': (PANEL_DASHBOARD, PANEL)
}