def render_formset_errors(formset, **kwargs):
 renderer_cls = get_formset_renderer(**kwargs)
 return renderer_cls(formset, **kwargs).render_errors()

def render_formset_errors ( formset , ** kwargs ) : renderer_cls = get_formset_renderer ( ** kwargs ) return renderer_cls ( formset , ** kwargs ) . render_errors ( )
render formset errors to a bootstrap layout .