def render_formset(formset, **kwargs):
    'Render a formset to a Bootstrap layout.'
    renderer_cls = get_formset_renderer(**kwargs)
    return renderer_cls(formset, **kwargs).render()
Render a formset to a Bootstrap layout.
def render_formset(formset, **kwargs):
    
    renderer_cls = get_formset_renderer(**kwargs)
    return renderer_cls(formset, **kwargs).render()