@register.simple_tag
def bootstrap_field(*args, **kwargs):
 return render_field(*args, **kwargs)

@ register . simple_tag def bootstrap_field ( * args , ** kwargs ) : return render_field ( * args , ** kwargs )
render a field **tag name**:: bootstrap_field **parameters**: field the form field to be rendered layout if set to horizontal then the field and label will be rendered side-by-side .