Customization

Some ways to customize the behavior of django-crispy-forms.

Customizations on ‘*’ required fields (optional)

If you don’t like the use of ‘*’ (asterisk) to denote required fields you have two options:

  • Asterisks have an ‘asteriskField’ class set. So you can hide it using CSS rule:

    .asteriskField {
        display: none;
    }
    
  • You can always override templates. Create your own template for field.html.

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:

Table Of Contents

Related Topics

This Page