# Django Subforms
[![Coverage Status][coverage-badge]][coverage]
[![GitHub Workflow Status][status-badge]][status]
[![PyPI][pypi-badge]][pypi]
[![GitHub][licence-badge]][licence]
[![GitHub Last Commit][repo-badge]][repo]
[![GitHub Issues][issues-badge]][issues]
[![Downloads][downloads-badge]][pypi]
[![Python Version][version-badge]][pypi]
```shell
pip install django-subforms
```
---
**Documentation**: [https://mrthearman.github.io/django-subforms/](https://mrthearman.github.io/django-subforms/)
**Source Code**: [https://github.com/MrThearMan/django-subforms/](https://github.com/MrThearMan/django-subforms/)
**Contributing**: [https://github.com/MrThearMan/django-subforms/blob/main/CONTRIBUTING.md](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](https://github.com/MrThearMan/django-subforms/raw/main/docs/img/example.png)
[coverage-badge]: https://coveralls.io/repos/github/MrThearMan/django-subforms/badge.svg?branch=main
[status-badge]: https://img.shields.io/github/actions/workflow/status/MrThearMan/django-subforms/test.yml?branch=main
[pypi-badge]: https://img.shields.io/pypi/v/django-subforms
[licence-badge]: https://img.shields.io/github/license/MrThearMan/django-subforms
[repo-badge]: https://img.shields.io/github/last-commit/MrThearMan/django-subforms
[issues-badge]: https://img.shields.io/github/issues-raw/MrThearMan/django-subforms
[version-badge]: https://img.shields.io/pypi/pyversions/django-subforms
[downloads-badge]: https://img.shields.io/pypi/dm/django-subforms
[coverage]: https://coveralls.io/github/MrThearMan/django-subforms?branch=main
[status]: https://github.com/MrThearMan/django-subforms/actions/workflows/test.yml
[pypi]: https://pypi.org/project/django-subforms
[licence]: https://github.com/MrThearMan/django-subforms/blob/main/LICENSE
[repo]: https://github.com/MrThearMan/django-subforms/commits/main
[issues]: https://github.com/MrThearMan/django-subforms/issues
Raw data
{
"_id": null,
"home_page": "https://mrthearman.github.io/django-subforms/",
"name": "django-subforms",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4",
"maintainer_email": "",
"keywords": "django,sub,form,nested,widget,json,array,dynamic",
"author": "Matti Lamppu",
"author_email": "lamppu.matti.akseli@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/0f/be/c3aae2630d10aaff3084f0aa7bd5e6bfb3c145b663f0e6d91387311318c1/django_subforms-0.3.0.tar.gz",
"platform": null,
"description": "# Django Subforms\n\n[![Coverage Status][coverage-badge]][coverage]\n[![GitHub Workflow Status][status-badge]][status]\n[![PyPI][pypi-badge]][pypi]\n[![GitHub][licence-badge]][licence]\n[![GitHub Last Commit][repo-badge]][repo]\n[![GitHub Issues][issues-badge]][issues]\n[![Downloads][downloads-badge]][pypi]\n[![Python Version][version-badge]][pypi]\n\n```shell\npip install django-subforms\n```\n\n---\n\n**Documentation**: [https://mrthearman.github.io/django-subforms/](https://mrthearman.github.io/django-subforms/)\n\n**Source Code**: [https://github.com/MrThearMan/django-subforms/](https://github.com/MrThearMan/django-subforms/)\n\n**Contributing**: [https://github.com/MrThearMan/django-subforms/blob/main/CONTRIBUTING.md](https://github.com/MrThearMan/django-subforms/blob/main/CONTRIBUTING.md)\n\n---\n\nThis library adds two new fields: `NestedFormField`, which can wrap forms as fields on another form\nand thus provide validation for, e.g., a JSON field, and `DynamicArrayField`, which can wrap\nfields, including `NestedFormField`, as dynamically expandable lists of fields.\n\n![Example image](https://github.com/MrThearMan/django-subforms/raw/main/docs/img/example.png)\n\n[coverage-badge]: https://coveralls.io/repos/github/MrThearMan/django-subforms/badge.svg?branch=main\n[status-badge]: https://img.shields.io/github/actions/workflow/status/MrThearMan/django-subforms/test.yml?branch=main\n[pypi-badge]: https://img.shields.io/pypi/v/django-subforms\n[licence-badge]: https://img.shields.io/github/license/MrThearMan/django-subforms\n[repo-badge]: https://img.shields.io/github/last-commit/MrThearMan/django-subforms\n[issues-badge]: https://img.shields.io/github/issues-raw/MrThearMan/django-subforms\n[version-badge]: https://img.shields.io/pypi/pyversions/django-subforms\n[downloads-badge]: https://img.shields.io/pypi/dm/django-subforms\n\n[coverage]: https://coveralls.io/github/MrThearMan/django-subforms?branch=main\n[status]: https://github.com/MrThearMan/django-subforms/actions/workflows/test.yml\n[pypi]: https://pypi.org/project/django-subforms\n[licence]: https://github.com/MrThearMan/django-subforms/blob/main/LICENSE\n[repo]: https://github.com/MrThearMan/django-subforms/commits/main\n[issues]: https://github.com/MrThearMan/django-subforms/issues\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Wrap django forms as fields and fields as dynamic arrays.",
"version": "0.3.0",
"project_urls": {
"Bug Tracker": "https://github.com/MrThearMan/django-subforms/issues",
"Homepage": "https://mrthearman.github.io/django-subforms/",
"Repository": "https://github.com/MrThearMan/django-subforms"
},
"split_keywords": [
"django",
"sub",
"form",
"nested",
"widget",
"json",
"array",
"dynamic"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "721e04c7c9b127f73b4e2d9a868214d23abae653b62db95cd26469fc020bece0",
"md5": "e9788d732d3838c3c3150cba69ac9697",
"sha256": "d3695069d2b30ed1e87b97932812bd8da52f50b461b310a54109a6d3d941f0da"
},
"downloads": -1,
"filename": "django_subforms-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e9788d732d3838c3c3150cba69ac9697",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4",
"size": 12367,
"upload_time": "2023-11-07T08:35:42",
"upload_time_iso_8601": "2023-11-07T08:35:42.847147Z",
"url": "https://files.pythonhosted.org/packages/72/1e/04c7c9b127f73b4e2d9a868214d23abae653b62db95cd26469fc020bece0/django_subforms-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0fbec3aae2630d10aaff3084f0aa7bd5e6bfb3c145b663f0e6d91387311318c1",
"md5": "f510d67380098aec2ae28b5c56287733",
"sha256": "57d5ef4814a8d78f2ddda929a1e9524f426744d8f6d69cd870ac58b0240c57f4"
},
"downloads": -1,
"filename": "django_subforms-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "f510d67380098aec2ae28b5c56287733",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4",
"size": 10123,
"upload_time": "2023-11-07T08:35:44",
"upload_time_iso_8601": "2023-11-07T08:35:44.052733Z",
"url": "https://files.pythonhosted.org/packages/0f/be/c3aae2630d10aaff3084f0aa7bd5e6bfb3c145b663f0e6d91387311318c1/django_subforms-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-07 08:35:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MrThearMan",
"github_project": "django-subforms",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "django-subforms"
}