Skip to main content

A user-friendly JSON editing form for Django admin.

Project description

django-jsonform icon

A user-friendly JSON editing form for django admin.

DocumentationPlaygroundPyPI

Features

  • File uploads
  • Postgres ArrayField
  • Many inputs and field types
  • UI matches with Django admin's
  • Recursion (nesting with self references)
  • Validation

Screenshots

Here's a screenshot of items being added to a shopping list (JSON array) dynamically:

django-jsonform screenshot

Install

Install via pip:

$ pip install django-jsonform

Edit your settings.py file:

# settings.py

INSTALLED_APPS = [
    # ...
    'django_jsonform'
]

Upgrading notes

When upgrading from an older version of this library, please ensure that your browser is loading the latest static JavaScript files that come with this library.

  • In the development environment, clear the browser cache.
  • In the production environment, you must run the collectstatic command to update the static files.

Documentation

Quickstart and usage docs can be found at http://django-jsonform.rtfd.io.

Contributing

  • The JavaScript code is written in React and it lives in another repo: https://github.com/bhch/react-json-form.
    The JS code lacks proper documentation or comments, so before contributing, maybe open an issue and I can help you out.
  • For everything else (related to Django or widget's css), contribute directly to this repo.

License

BSD-3-Clause

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

django_jsonform-2.23.2.tar.gz (108.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_jsonform-2.23.2-py3-none-any.whl (109.1 kB view details)

Uploaded Python 3

File details

Details for the file django_jsonform-2.23.2.tar.gz.

File metadata

  • Download URL: django_jsonform-2.23.2.tar.gz
  • Upload date:
  • Size: 108.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for django_jsonform-2.23.2.tar.gz
Algorithm Hash digest
SHA256 6fa2ba7c082be51d738e6c66e35075a3cb9ebc2f941e3a477c988900a7fe3269
MD5 793f7a165cdf0b109e61e530842080bd
BLAKE2b-256 9ba883c57acbc153b86615be279cee5a194ce1163b578f29a9f6d658f267785e

See more details on using hashes here.

File details

Details for the file django_jsonform-2.23.2-py3-none-any.whl.

File metadata

  • Download URL: django_jsonform-2.23.2-py3-none-any.whl
  • Upload date:
  • Size: 109.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for django_jsonform-2.23.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b7f94c5a2bd22c844e035a9940a9c8586f7b8fc3346ef2a6a13ba608e0059d7
MD5 a840687aacfcb852e455afa57e9b7f3d
BLAKE2b-256 3a8e8766f4bc535917ccbc6b3dcb57caf82210a6bacd613c3d9dbaec81018935

See more details on using hashes here.

Supported by

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