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

Uploaded Source

Built Distribution

formkit_ninja-0.3.0-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: formkit_ninja-0.3.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.2 Linux/5.19.0-41-generic

File hashes

Hashes for formkit_ninja-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6ff5fbb21b45b37a2d29d9de4fc6b265ce8ac0e7d82735192ed0bf1cb6ee0687
MD5 3f147128faa2a7c3955176f44e8d2bad
BLAKE2b-256 8cab47331aa1ce0b1c632006e2d81b4746be37514f1ddba0f3084ca22f38b7a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: formkit_ninja-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.2 Linux/5.19.0-41-generic

File hashes

Hashes for formkit_ninja-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1ce663604b528cf33c4050034e8f0673ca12250730c6b2c2a66c846dca9f9b1
MD5 c58ea6fd7ea86f0fccc4e77bfa381eca
BLAKE2b-256 d56b86137e56cbd5fa26a060a743b3426eabc5a21a609a409bf288f6eacaf7ad

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