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

Uploaded Source

Built Distribution

formkit_ninja-0.1.3-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: formkit_ninja-0.1.3.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Linux/6.1.0-4.2-liquorix-amd64

File hashes

Hashes for formkit_ninja-0.1.3.tar.gz
Algorithm Hash digest
SHA256 79001b5be2e482651b3f50074e471d32d326476b79ecf00910efb93960326b66
MD5 54bb0b10bae6cf85fd06be874c6ab98f
BLAKE2b-256 8c448b267b881c6ecc9f1172cc4049e27833eb453628c2372d8bcafd33740138

See more details on using hashes here.

File details

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

File metadata

  • Download URL: formkit_ninja-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Linux/6.1.0-4.2-liquorix-amd64

File hashes

Hashes for formkit_ninja-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9647aca4518860aff3cf2ff0e04060278e2411e230e177d5dfe2fb5549ad2f7b
MD5 0002007ab5822356cfdd9509c609f2b9
BLAKE2b-256 aa76ef23b89f9886bbf92b153c55987c2c041a9857ebb209f94009c91cd3c79f

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