def render_formset(formset=None, context=None):
 if (not context):
  context = {}
 context[u'formset'] = formset
 return render_template_with_form(u'{% bootstrap_formset formset %}', context)

def render_formset ( formset = None , context = None ) : if ( not context ) : context = { } context [ u'formset' ] = formset return render_template_with_form ( u'{% bootstrap_formset formset %}' , context )
create a template that renders a formset .