Exemplo n.º 1
0
def formtable(context, formset, **kwargs):
    return table(context, formset, table_class=FormsetTable, **kwargs)
Exemplo n.º 2
0
def ajaxtable(context, queryset, fields=(), exclude=(), listfield_callback=None, make_selectable=False):
    from ajax import table

    request = context.get("request")
    return table(queryset, request.GET, fields, exclude, make_selectable, listfield_callback)