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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_jsonform-2.23.1.tar.gz
  • Upload date:
  • Size: 108.1 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.1.tar.gz
Algorithm Hash digest
SHA256 b75ea31263fbdde7190c1b02422587208359b19b1a9babc15ec3ed8260b26af9
MD5 9784d8e8af1d49eb07b361173e6c89b7
BLAKE2b-256 dcab45abdd49cd3b222680e0a90163ac663b52064444b4a2de7b9f9bd06cef97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_jsonform-2.23.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd5900c9f4f69d90a40b3a495aeb66bf43f562b82bfb64be40a78a51bbc04a11
MD5 3ebc0e0a3f5e1e9b0e22f5d4f78be570
BLAKE2b-256 5c9c67952e9ef627ab4dd9c3bdac676579a396b3c3ee9af605e41c48516ace73

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