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:
Shu Muto 2016-09-02 16:17:51 +09:00
parent f875b3b3d3
commit a738880efb

View File

@ -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")