Skip to main content

nest django forms as fields in other forms

Project description

django-nested-form-field

nest django forms as fields in other forms

Installation

Use the package manager pip to install django-nested-form-field.

pip install django-nested-form-field

Usage

from django import forms

from nested_form_field import NestedFormField


class MyNestedForm(forms.Form):
    title = forms.CharField()
    description = forms.CharField()


class MyForm(forms.Form):
    nested_form = NestedFormField(MyNestedForm)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-nested-form-field-0.0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_nested_form_field-0.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file django-nested-form-field-0.0.1.tar.gz.

File metadata

  • Download URL: django-nested-form-field-0.0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for django-nested-form-field-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8b11dc4a04020011e562ff6408835cdc246166081fac8434956a3538b7316dac
MD5 4333de9b3f5027d343f8908033b156a7
BLAKE2b-256 e545049a5091991edbad3da18b2268972d8f50e77dba2d77453a2ca22f5ac705

See more details on using hashes here.

File details

Details for the file django_nested_form_field-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: django_nested_form_field-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for django_nested_form_field-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 624bbf83de1738d72e80f0b069abec4b773e8cb7cf2f8b105bf0d90d417ac4b1
MD5 3ce69b04ba409850d1846cb1a8344879
BLAKE2b-256 672c981830cf118e2ab4a7cadd26230018da8ea5ab4582a1d5c81c36ffb0f0b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page