Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-form-utils-bootstrap3-0.1.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page