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.4.0a2.tar.gz
(22.6 kB
view details)
Built Distribution
File details
Details for the file formkit_ninja-0.4.0a2.tar.gz
.
File metadata
- Download URL: formkit_ninja-0.4.0a2.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.2 Linux/6.4.6-060406-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b9711316c7a7708943f6ca6a2ceb2a7b258bd22fd229469400b625ac764747 |
|
MD5 | 405ff2af30e9528e92edfd0ec79c7d3b |
|
BLAKE2b-256 | c933ab8788868b95689622c4c1f69c98ed1038cd6e985ffd80c9382d26e6cd59 |
File details
Details for the file formkit_ninja-0.4.0a2-py3-none-any.whl
.
File metadata
- Download URL: formkit_ninja-0.4.0a2-py3-none-any.whl
- Upload date:
- Size: 29.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.2 Linux/6.4.6-060406-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30ec9a3e1fe329b31453d79c6ecd195fa6dc74725b383326bd934ecefe3f4dac |
|
MD5 | 96a4ee3653eff6fbe306ccf536e6a757 |
|
BLAKE2b-256 | a35582aeeea6e0c73a01216a194169d217fb411610b8d7f9f42520841e9bb6c5 |