A Django-Ninja backend to specify FormKit schemas
Project description
Formkit-Ninja
A Django-Ninja framework for FormKit schemas and form submissions
Why
FormKit out of the box has awesome schema support - this lets us integrate FormKit instances as Django models
- Upload / edit / download basic FormKit schemas
- Translated "option" values from the Django admin
- Reorder "options" and schema nodes
- List and Fetch schemas for different form types
Use
To use, pip install formkit-ninja
and add the following to settings INSTALLED_APPS
:
INSTALLED_APPS = [
...
"formkit_ninja",
"ordered_model",
"ninja",
...
]
Test
Pull the repo:
gh repo clone catalpainternational/formkit-ninja
cd formkit-ninja
poetry install
poetry run pytest
Lint
poetry run black --check .
poetry run isort --check .
poetry run flake8 .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
formkit_ninja-0.5.1.tar.gz
(34.1 kB
view details)
Built Distribution
File details
Details for the file formkit_ninja-0.5.1.tar.gz
.
File metadata
- Download URL: formkit_ninja-0.5.1.tar.gz
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.6-060406-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 224cc1d8becd35b32e8fca63b3d7a95c8f28a31bc41215e827f6940e1611ddde |
|
MD5 | f09f2f0fc9a03e3fcf8dc12c016c4da7 |
|
BLAKE2b-256 | 3c03bfce1bffb4ca1628b3f90609dc5e8fd177ce08d9e95372cb1b7c57eddadc |
File details
Details for the file formkit_ninja-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: formkit_ninja-0.5.1-py3-none-any.whl
- Upload date:
- Size: 60.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.6-060406-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 978ac54ab1ba880d0665c34945ba50e7ec4cd318a0eeafb931245992d40f74b7 |
|
MD5 | db70e149c7842418a18609b38babce0d |
|
BLAKE2b-256 | 193a202a9583a7edebb39e6be030b2cb4cfc2c13ed18cb81b64c01b45e29756f |