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.6a8.tar.gz
(15.6 kB
view hashes)
Built Distribution
Close
Hashes for formkit_ninja-0.1.6a8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e33822e38fd0e75e760e5da57f5dcd62e1de03a0dfa6fd45d80e3fe11e27ee06 |
|
MD5 | 28cf0119487cce9082d7700898281bd4 |
|
BLAKE2b-256 | fd51c827df6e1a21c5cec7ee4143f8ac1d8a03549f3fbb4d6188d7b612afef19 |