django-subforms


Namedjango-subforms JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://mrthearman.github.io/django-subforms
SummaryWrap django forms as fields and fields as dynamic arrays.
upload_time2025-08-23 14:34:28
maintainerNone
docs_urlNone
authorMatti Lamppu
requires_python<4,>=3.11
licenseMIT
keywords django sub form nested widget json array dynamic
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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": null,
    "docs_url": null,
    "requires_python": "<4,>=3.11",
    "maintainer_email": null,
    "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/85/91/495549e066b480065f3bcf47d5a4a19785f75e1957dd47ffa1936d71b100/django_subforms-0.4.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.4.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/MrThearMan/django-subforms/issues",
        "Documentation": "https://mrthearman.github.io/django-subforms",
        "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": "e000ec80015035f89894a4329a588718041f9359519e11819bbdc45a8872ab3c",
                "md5": "92062120ceab353a4725a2599a053e5a",
                "sha256": "6eada7902916c5ee806a1cc3c98eea72d6188b64eb69496e12ff5c3d2b3f9f83"
            },
            "downloads": -1,
            "filename": "django_subforms-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "92062120ceab353a4725a2599a053e5a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.11",
            "size": 9117,
            "upload_time": "2025-08-23T14:34:27",
            "upload_time_iso_8601": "2025-08-23T14:34:27.900020Z",
            "url": "https://files.pythonhosted.org/packages/e0/00/ec80015035f89894a4329a588718041f9359519e11819bbdc45a8872ab3c/django_subforms-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8591495549e066b480065f3bcf47d5a4a19785f75e1957dd47ffa1936d71b100",
                "md5": "33b03b0eaf199d06471a7865c123ed1d",
                "sha256": "7fda1ab49d824c6ffd51703f7146dbc48eb0279521192463637d3b558182f634"
            },
            "downloads": -1,
            "filename": "django_subforms-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "33b03b0eaf199d06471a7865c123ed1d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.11",
            "size": 10052,
            "upload_time": "2025-08-23T14:34:28",
            "upload_time_iso_8601": "2025-08-23T14:34:28.625496Z",
            "url": "https://files.pythonhosted.org/packages/85/91/495549e066b480065f3bcf47d5a4a19785f75e1957dd47ffa1936d71b100/django_subforms-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-23 14:34:28",
    "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"
}
        
Elapsed time: 4.97532s