/django-form-utils-bootstrap3

Render forms with fieldsets using Bootstrap markup via django-form-utils and django-bootstrap3

Primary LanguagePythonMIT LicenseMIT

django-form-utils-bootstrap3

Latest PyPI version Latest Travis CI build status

Render forms with fieldsets using Bootstrap markup via django-form-utils and django-bootstrap3

Configuration

Modify your Django project settings to include:

BOOTSTRAP3 = {
    'form_renderers': {
        'default': 'form_utils_bootstrap3.renderers.BetterFormRenderer'
    }
}

You can continue using the same {% bootstrap_form form %} tags, but they now take into account the existence of fieldsets in BetterForm instances.

Installation

pip install django-form-utils-bootstrap3

Requirements

A Django project using:

  • django-form-utils
  • django-bootstrap3

Licence

MIT

Authors

django-form-utils-bootstrap3 was written by Federico Bond.