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


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

Uploaded Source

Built Distribution

formkit_ninja-0.3.5-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: formkit_ninja-0.3.5.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.10.7 Linux/5.19.0-46-generic

File hashes

Hashes for formkit_ninja-0.3.5.tar.gz
Algorithm Hash digest
SHA256 5f6c312c793c1e6ac9548e983743cdec40eb5ae0ece5d2ae1321bc007541406c
MD5 f32e6e034c83fd9de3764680842fd51e
BLAKE2b-256 0096079e1edfd03f6b687d508492d7c72c3f62e2235e6aac2d8cfde9c4a3e670

See more details on using hashes here.

File details

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

File metadata

  • Download URL: formkit_ninja-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.10.7 Linux/5.19.0-46-generic

File hashes

Hashes for formkit_ninja-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 16c73add04b159a3e55342df8977cdc68f9c692dfce01fd9bbe46ddd245dbad7
MD5 41da885156fc30e73587947e3bb6f3a6
BLAKE2b-256 2d271b809abc6cbeb41b20bcf4ceaba5c1e923c26b0544c5ea3070ec4bd61306

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