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.1.6a1.tar.gz
(15.3 kB
view hashes)
Built Distribution
Close
Hashes for formkit_ninja-0.1.6a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba6e0ab6feaeeee4710c71ab93cf4ceb0f74562d083db5ec041b32ffb8a5c2e |
|
MD5 | 47c23eb2dc061ed4890b4d94ebf13ca5 |
|
BLAKE2b-256 | fbe0fbd9ed5209d52e4f0a2d27c2efa2ec77870ef41038fdf964c320bb6acd98 |