Skip to main content

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",
    "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


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.8.0.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

formkit_ninja-0.8.0-py3-none-any.whl (70.0 kB view details)

Uploaded Python 3

File details

Details for the file formkit_ninja-0.8.0.tar.gz.

File metadata

  • Download URL: formkit_ninja-0.8.0.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.6-060406-generic

File hashes

Hashes for formkit_ninja-0.8.0.tar.gz
Algorithm Hash digest
SHA256 9d5c2c40cc102e80b682bc0799d9b7087c072dbf2f7d653c3a4e720e6ec8f3a1
MD5 2c1c69ec433ba2e78b4825760c586860
BLAKE2b-256 fdeb6b69751c30c0096a99acecca6cbbf51d040b467c97357ac353adb0c7626b

See more details on using hashes here.

File details

Details for the file formkit_ninja-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: formkit_ninja-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 70.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.6-060406-generic

File hashes

Hashes for formkit_ninja-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2be7c9d38f25b1e1149304d73ca5f9e5a9df34f6d20454650318543b5910984f
MD5 813c3b587bf98997a5b09f6a5921c9fa
BLAKE2b-256 78b7d74d7ec8d0e80acae128ce6dcab5f5cff4711318993b2c3df858283906d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page