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.20.0.tar.gz (107.3 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.20.0-py3-none-any.whl (117.1 kB view details)

Uploaded Python 3

File details

Details for the file django-jsonform-2.20.0.tar.gz.

File metadata

  • Download URL: django-jsonform-2.20.0.tar.gz
  • Upload date:
  • Size: 107.3 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.20.0.tar.gz
Algorithm Hash digest
SHA256 6cc673ad4464da32e20d270006e9faa9e7342065fe3da07e8abac7ae27e19e26
MD5 eae03faaf80017708098317b13338590
BLAKE2b-256 d4a3e6904c7058c61aec3d3d5a4a51018ac46db5f692ceba8fafd37805e45132

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_jsonform-2.20.0-py3-none-any.whl
  • Upload date:
  • Size: 117.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.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d86134baa86b745010d2b71b0059e8f59d71a22df5fbe788aee5d25114cce567
MD5 d1326774d844a42892cc47e203db564c
BLAKE2b-256 92bc00c3c4537664e112a4a13ead7c1e8fdd9763d7af38b7a5d4f5ac30c5cdbf

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