Render forms with fieldsets using Bootstrap markup via django-form-utils and django-bootstrap3
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.
pip install django-form-utils-bootstrap3
A Django project using:
django-form-utilsdjango-bootstrap3
MIT
django-form-utils-bootstrap3 was written by Federico Bond.