Python BSD-3-Clause

django-formtools

A set of high-level abstractions for Django forms

J

jazzband

Dernière activité 28 sept. 2026
jazzband/django-formtools

883

étoiles

146

forks

86

issues ouvertes

Ce README est souvent en anglais.

django-formtools

Jazzband PyPI version Supported Python versions GitHub Actions Test Coverage

Django's "formtools" is a set of high-level abstractions for Django forms. Currently for form previews and multi-step forms.

This code used to live in Django proper -- in django.contrib.formtools -- but was separated into a standalone package in Django 1.8 to keep the framework's core clean.

For a full list of available formtools, see https://django-formtools.readthedocs.io/

django-formtools can also be found on and installed from the Python Package Index: https://pypi.python.org/pypi/django-formtools

To get more help, please use the offical Django Forum at https://forum.djangoproject.com/

Contributing to django-formtools

See CONTRIBUTING.rst for information about contributing patches to django-formtools.

Running tests is as simple as installing Tox and running it in the root Git clone directory:

$ git clone https://github.com/jazzband/django-formtools
[..]
$ cd django-formtools
$ tox
[..]
  congratulations :)

The previous command will run the tests in different combinations of Python (if available) and Django versions. To see the full list of combinations use the -l option:

$ tox -l
...
py312-djangoAB
py312-djangomain

You can run each environment with the -e option:

$ tox -e py312-djangoAB  # runs the tests only on Python 3.12 and Django A.B.x

Projets similaires

A flexible forms validation and rendering library for Python.

Pythonformshtmlpython
Ppallets-eco
1,6 k étoiles408

The best way to have DRY Django forms. The app provides a tag and filter that lets you quickly render forms in a div format while providing an enormous amount of capability to configure and control the rendered HTML.

Python
Ddjango-crispy-forms
5,2 k étoiles730

Tweak the form field rendering in templates, not in python-level form definitions. CSS classes and HTML attributes can be altered.

Python
Jjazzband
2,2 k étoiles138