Django Form Builder
A Django Framework application to build dynamic forms, with widgets and Django's standards, using JSON objects.
Forms can be saved in a configurable storage (or settings.py). Users that requires high levels of customization will find what they're look for.
Consult the Official Documentation at readthedocs for usage specifications and advanced topics.
Image 1: Example of Dynamic Form built via frontend
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"
}
}
CaPTCHA
In settings.py configure these parameters
CAPTCHA_SECRET = b'your_secret'
CAPTCHA_SALT = b'your_salt'
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/*
Release files for django-form-builder 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_form_builder-1.2.3.tar.gz | 412.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_form_builder-1.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 885.3 kB
Release files / django_form_builder-1.2.3.tar.gz
| Download URL | django_form_builder-1.2.3.tar.gz |
|---|---|
| Size | 412.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afe23507b5bf2e642ba07cf29fc03268412d48de3d4f97e3ac59df067915abe7
|
|
BLAKE2b-256 checksum How to use checksums |
ee78a05ee9be91513efcbff006510499134a31960a45b73556f2689a07297390
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / django_form_builder-1.2.3-py3-none-any.whl
| Download URL | django_form_builder-1.2.3-py3-none-any.whl |
|---|---|
| Size | 472.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3290b36fa50153d3fa5843049f9267fb5bc929ef6dae956ab722246ba51d07e
|
|
BLAKE2b-256 checksum How to use checksums |
17890a315d8f99b43c8e7b12aa99e849a6c89d07dd16922a38ec676ed02b2c1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|