Hi, I`m trying to create a custom dashboard with a panel.
I`ve created the dashboard and with a panel under /openstack_dashboard/dashboards/. Then I`ve added this to setting.py under INSTALLED_APPS. 'openstack_dashboard.dashboards.mycustomdashboard', Howhever if I try to connect to horizon I get: Traceback (most recent call last): File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run self.result = application(self.environ, self.start_response) File "/home/vannyenr/horizon-stable/.venv/local/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 67, in __call__ return self.application(environ, start_response) File "/home/vannyenr/horizon-stable/.venv/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, in __call__ self.load_middleware() File "/home/vannyenr/horizon-stable/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 49, in load_middleware mw_instance = mw_class() File "/home/vannyenr/horizon-stable/.venv/local/lib/python2.7/site-packages/django/middleware/locale.py", line 24, in __init__ for url_pattern in get_resolver(None).url_patterns: File "/home/vannyenr/horizon-stable/.venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 346, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/home/vannyenr/horizon-stable/.venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 341, in urlconf_module self._urlconf_module = import_module(self.urlconf_name) File "/home/vannyenr/horizon-stable/.venv/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module __import__(name) File "/home/vannyenr/horizon-stable/openstack_dashboard/urls.py", line 38, in <module> url(r'', include(horizon.urls)) File "/home/vannyenr/horizon-stable/.venv/local/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 27, in include patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module) File "/home/vannyenr/horizon-stable/.venv/local/lib/python2.7/site-packages/django/utils/functional.py", line 213, in inner self._setup() File "/home/vannyenr/horizon-stable/.venv/local/lib/python2.7/site-packages/django/utils/functional.py", line 298, in _setup self._wrapped = self._setupfunc() File "/home/vannyenr/horizon-stable/horizon/base.py", line 733, in url_patterns return self._urls()[0] File "/home/vannyenr/horizon-stable/horizon/base.py", line 767, in _urls url(r'^%s/' % dash.slug, include(dash._decorated_urls))) File "/home/vannyenr/horizon-stable/horizon/base.py", line 468, in _decorated_urls % self.default_panel) NotRegistered: The default panel "mycustompanel" is not registered. Howhever in my panel code there is dashboard.mycustomdashboard.register(mycustompanel). What am I doing wrong ? Cheers, Roel
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev