django-subforms


Namedjango-subforms JSON
Version 0.3.1 PyPI version JSON
download
home_pagehttps://mrthearman.github.io/django-subforms/
SummaryWrap django forms as fields and fields as dynamic arrays.
upload_time2024-09-20 06:32:23
maintainerNone
docs_urlNone
authorMatti Lamppu
requires_python<4,>=3.9
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.9",
    "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/0c/4e/42bd87f7a9ca4ca507e063016ddf3d46c0517a1ac1f18fcb3aea17772088/django_subforms-0.3.1.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.1",
    "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": "18bf05ed2e0a208791317834b45649d61f7d163ef962f763e3bf94c17c70a300",
                "md5": "d6acc2a98438364d17db500a9e1b9d9f",
                "sha256": "d6b7cf8afaa98b8603ca0ad4c09f3188782e4ea3f982d32b7c7fbf1f034cd99e"
            },
            "downloads": -1,
            "filename": "django_subforms-0.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d6acc2a98438364d17db500a9e1b9d9f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.9",
            "size": 12737,
            "upload_time": "2024-09-20T06:32:21",
            "upload_time_iso_8601": "2024-09-20T06:32:21.402338Z",
            "url": "https://files.pythonhosted.org/packages/18/bf/05ed2e0a208791317834b45649d61f7d163ef962f763e3bf94c17c70a300/django_subforms-0.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c4e42bd87f7a9ca4ca507e063016ddf3d46c0517a1ac1f18fcb3aea17772088",
                "md5": "e202eda7078df611521ab9ad15737664",
                "sha256": "26a617095470849b922a91013595dd84b6229ff47ca04c1c2ccdf5e2244999fe"
            },
            "downloads": -1,
            "filename": "django_subforms-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e202eda7078df611521ab9ad15737664",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.9",
            "size": 11475,
            "upload_time": "2024-09-20T06:32:23",
            "upload_time_iso_8601": "2024-09-20T06:32:23.029779Z",
            "url": "https://files.pythonhosted.org/packages/0c/4e/42bd87f7a9ca4ca507e063016ddf3d46c0517a1ac1f18fcb3aea17772088/django_subforms-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-20 06:32:23",
    "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: 0.32693s