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

Uploaded Source

Built Distribution

formkit_ninja-0.6.3-py3-none-any.whl (68.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: formkit_ninja-0.6.3.tar.gz
  • Upload date:
  • Size: 38.3 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.6.3.tar.gz
Algorithm Hash digest
SHA256 ab1e515161763c358ec47be5cec576f9cb2aa2a73c43e8b19c5afef9866ead53
MD5 b9889096b02842c313e12b54aee1f950
BLAKE2b-256 8007be263dc4f93e6d14455818df9194305c1353f80a4c7e8a9c6f991cc4d17f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: formkit_ninja-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 68.1 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.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5c87cb464cd17c926d01b285b2f09f59a30738d6eb0da93837c1ae8f4f34638c
MD5 b95a2970c23aa54afce24ea8756d49be
BLAKE2b-256 99cb4246b2c0f109db42bc1779e84c599745d048608cac5816cf18d1d3ac8422

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