Exemplo n.º 1
0
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)
Exemplo n.º 2
0
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)
Exemplo n.º 3
0
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)