无法将面板添加到openstack django horizon

无法将面板添加到openstack django horizon,django,openstack,horizon,Django,Openstack,Horizon,我试图添加面板openstack计算面板组,但它不起作用 我手动执行python包,因为toe不工作 这是我的面板树 panel.py _12221_项目_mypanel_测试_panel.py from django.utils.translation import ugettext_lazy as _ import horizon from openstack_dashboard.dashboards.project import dashboard class Testpanel(hori

我试图添加面板openstack计算面板组,但它不起作用 我手动执行python包,因为toe不工作 这是我的面板树 panel.py

_12221_项目_mypanel_测试_panel.py

from django.utils.translation import ugettext_lazy as _
import horizon
from openstack_dashboard.dashboards.project import dashboard
class Testpanel(horizon.Panel):
   name = _("Testpanel")
   slug = "mypanel.testpanel"
   permissions = ('openstack.project.compute', 'openstack.roles.admin')
   policy_rules = ((("compute", "context_is_admin"),
                 ("compute", "compute:get_all")),)
dashboard.Project.register(Testpanel)
在计算面板组/项目仪表板上看不到mypanel

我想念什么?? 我只想在仪表板上看到我的面板名称

from django.utils.translation import ugettext_lazy as _
import horizon
from openstack_dashboard.dashboards.project import dashboard
class Testpanel(horizon.Panel):
   name = _("Testpanel")
   slug = "mypanel.testpanel"
   permissions = ('openstack.project.compute', 'openstack.roles.admin')
   policy_rules = ((("compute", "context_is_admin"),
                 ("compute", "compute:get_all")),)
dashboard.Project.register(Testpanel)