Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/federicobond/django-form-utils-bootstrap3

Render forms with fieldsets using Bootstrap markup via django-form-utils and django-bootstrap3
https://github.com/federicobond/django-form-utils-bootstrap3

bootstrap3 django django-bootstrap3 django-forms

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

============================
django-form-utils-bootstrap3
============================

.. image:: https://badge.fury.io/py/django-form-utils-bootstrap3.svg
:target: https://badge.fury.io/py/django-form-utils-bootstrap3
:alt: Latest PyPI version

.. image:: https://travis-ci.org/federicobond/django-form-utils-bootstrap3.svg
:target: https://travis-ci.org/federicobond/django-form-utils-bootstrap3
:alt: 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 `_.