Django Subforms

Coverage Status GitHub Workflow Status PyPI GitHub GitHub Last Commit GitHub Issues Downloads Python Version

pip install django-subforms

Documentation: https://mrthearman.github.io/django-subforms/

Source Code: https://github.com/MrThearMan/django-subforms/

Contributing: https://github.com/MrThearMan/django-subforms/blob/main/CONTRIBUTING.md


This library adds two new fields: NestedFormField, which can wrap forms as fields on another form and thus provide validation for, e.g., a JSON field, and DynamicArrayField, which can wrap fields, including NestedFormField, as dynamically expandable lists of fields.

Example image