Revirt removing REST API loading
Since dashboard plugins are loaded from its panels at first, REST API should be loaded from panels.py or its near module. Change-Id: I88ca6935275a83969d956a8493eb1d465fd38e7d
This commit is contained in:
parent
f875b3b3d3
commit
a738880efb
@ -15,6 +15,11 @@
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
import horizon
|
||||
|
||||
# DO NOT REMOVE
|
||||
# This needs for register url of REST API.
|
||||
# Dashboard plugins load REST API from here.
|
||||
from magnum_ui.api.rest import magnum # noqa
|
||||
|
||||
|
||||
class Clusters(horizon.Panel):
|
||||
name = _("Clusters")
|
||||
|
Loading…
x
Reference in New Issue
Block a user