Skip to main content

Django Form builder

Project description

Build status Python version License

Django Form Builder

A Django Framework application to build dynamic forms, with widgets and Django's standards, using a JSON objects.

Every form can be saved in a configurable storage, in JSON format. Users that requires a high level of customization will found in it what they look for.

Consult the Official Documentation at readthedocs for usage specifications and advanced topics.

Home Image 1: Example of Dynamic Form built via frontend

Home Image 2: Preview of the builded form

Features

  • Forms definitions via JSON object;
  • Save compiled form as JSON objects in model db and get its structure and contents with a simple model method call;
  • Override form constructor in order to add static common fields;
  • Create input fields using heritable classes, with customizable validation methods;
  • Manage Django Formset fields, with form insertion and removal via javascript;
  • Manage and verify digitally signed file fields (PDF and P7M) without a certification authority validation (TODO via third-party API).
  • Audio and Image Captcha

Examples

Example of a dynamic form JSON in database

{
  "field_1": "value_field_1",
  "field_2": "value_field_2",
  "field_3": "value_field_3",
  "attachments": {
    "p7m": "file_1.pdf.p7m",
    "pdf": "file_2.pdf"
  }
}

Tests

# build a virtualend where to install all the requirements and requirements-dev ...
cd example
./manage.py test

# coverage
coverage erase
coverage run  ./manage.py test
coverage report -m

Build

rm -R build/ dist/ *egg-info
python3 setup.py sdist
twine upload dist/*

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-form-builder-0.9.16.post4.tar.gz (402.3 kB view details)

Uploaded Source

Built Distribution

django_form_builder-0.9.16.post4-py3-none-any.whl (469.2 kB view details)

Uploaded Python 3

File details

Details for the file django-form-builder-0.9.16.post4.tar.gz.

File metadata

  • Download URL: django-form-builder-0.9.16.post4.tar.gz
  • Upload date:
  • Size: 402.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5

File hashes

Hashes for django-form-builder-0.9.16.post4.tar.gz
Algorithm Hash digest
SHA256 34456e2b2e2b21d31f1e4bb0f22bcbf4a7219c2008ac15c868063e12de21391e
MD5 bd1589f8a13259dc151ff966d55a82e6
BLAKE2b-256 594fe6884b3569f16211587cb077606a2c4e1382d950790cd35aef374032bcae

See more details on using hashes here.

File details

Details for the file django_form_builder-0.9.16.post4-py3-none-any.whl.

File metadata

  • Download URL: django_form_builder-0.9.16.post4-py3-none-any.whl
  • Upload date:
  • Size: 469.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5

File hashes

Hashes for django_form_builder-0.9.16.post4-py3-none-any.whl
Algorithm Hash digest
SHA256 47ec62b020be0de2bbf60a2ec00de58ac7eb0b8f5f5894e3b8fc635050c2856c
MD5 23926531b1abcfa4846b4f33146af18f
BLAKE2b-256 d3f5f2cca5c17969b04e7166fddd72b7c4340198d68a075f17ed82aa634f74cc

See more details on using hashes here.

Supported by

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