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.16.0.tar.gz (104.4 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.16.0-py3-none-any.whl (113.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-jsonform-2.16.0.tar.gz
  • Upload date:
  • Size: 104.4 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.16.0.tar.gz
Algorithm Hash digest
SHA256 0a4d5180fe56673cd7256acb3f0962cd35bc7c43723b46fd588801d06c135875
MD5 1fbdb024ce89a727483e3bac22ec24ef
BLAKE2b-256 d4015b00733b3eb2f81017368d82e1b3f094cfe6f42f3e288af3f12918c22ef5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_jsonform-2.16.0-py3-none-any.whl
  • Upload date:
  • Size: 113.7 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.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f36fcc660223ff5bfa9f8941465b7524818e817b6852a3c80c6881ff7adb9595
MD5 71e53c0021667571c2bcde3f7cbd2f9d
BLAKE2b-256 e6d1f934b42dc8544d4ca28fdb23ce34fceee461567ebce77718a34bde0e61ef

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