API templatetags

class templatetags.crispy_forms_field.CrispyFieldNode(field, attrs)[source]
render(context)[source]
templatetags.crispy_forms_field.classes(field)

Returns CSS classes of a field

templatetags.crispy_forms_field.crispy_field(parser, token)[source]

{% crispy_field field attrs %}

templatetags.crispy_forms_field.css_class(field)[source]

Returns widgets class name in lowercase

templatetags.crispy_forms_field.is_checkbox(field)[source]
templatetags.crispy_forms_field.is_password(field)[source]
templatetags.crispy_forms_field.pairwise(iterable)[source]

s -> (s0,s1), (s2,s3), (s4, s5), ...

crispy-forms

django-crispy-forms is a Django application that lets you easily build, customize and reuse forms using your favorite CSS framework, without writing template code and without having to take care of annoying details. You are currently looking at the documentation of the development release.

Support

If you love django-crispy-forms, consider making a small donation on Flattr:

Related Topics

This Page