def render_formset_errors(formset, **kwargs):
    'Render formset errors to a Bootstrap layout.'
    renderer_cls = get_formset_renderer(**kwargs)
    return renderer_cls(formset, **kwargs).render_errors()
Render formset errors to a Bootstrap layout.
def render_formset_errors(formset, **kwargs):
    
    renderer_cls = get_formset_renderer(**kwargs)
    return renderer_cls(formset, **kwargs).render_errors()