def dashlet_view_handle_input(ident, dashlet): dashlet["name"] = "dashlet_%d" % ident dashlet.setdefault("title", _("View")) import views # FIXME: HACK, clean this up somehow views.load_views() return views.create_view_from_valuespec(dashlet, dashlet)
def dashlet_view_handle_input(ident, dashlet): dashlet['name'] = 'dashlet_%d' % ident dashlet.setdefault('title', _('View')) import views # FIXME: HACK, clean this up somehow views.load_views() return views.create_view_from_valuespec(dashlet, dashlet)