def formtable(context, formset, **kwargs): return table(context, formset, table_class=FormsetTable, **kwargs)
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)