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.2.tar.gz
(34.2 kB
view hashes)
Built Distribution
Close
Hashes for formkit_ninja-0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84cfc1735e46193c491fc7b68292a5b3d7c5536916f503ef6d5428c8d5292c46 |
|
MD5 | cdf4f7b54611c0d750ce32f427cda3e5 |
|
BLAKE2b-256 | 3e744de9e86796a68d60eb1926eaa45cfa2e80790e897fb0da36daca067866c3 |