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.3.5.tar.gz
(18.8 kB
view details)
Built Distribution
File details
Details for the file formkit_ninja-0.3.5.tar.gz
.
File metadata
- Download URL: formkit_ninja-0.3.5.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.10.7 Linux/5.19.0-46-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f6c312c793c1e6ac9548e983743cdec40eb5ae0ece5d2ae1321bc007541406c |
|
MD5 | f32e6e034c83fd9de3764680842fd51e |
|
BLAKE2b-256 | 0096079e1edfd03f6b687d508492d7c72c3f62e2235e6aac2d8cfde9c4a3e670 |
File details
Details for the file formkit_ninja-0.3.5-py3-none-any.whl
.
File metadata
- Download URL: formkit_ninja-0.3.5-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.10.7 Linux/5.19.0-46-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16c73add04b159a3e55342df8977cdc68f9c692dfce01fd9bbe46ddd245dbad7 |
|
MD5 | 41da885156fc30e73587947e3bb6f3a6 |
|
BLAKE2b-256 | 2d271b809abc6cbeb41b20bcf4ceaba5c1e923c26b0544c5ea3070ec4bd61306 |