A user-friendly JSON editing form for Django admin.
Project description
A user-friendly JSON editing form for django admin.
Features
- File uploads
- Postgres
ArrayField
- Many inputs and field types
- UI matches with Django admin's
- Validation
- Recursion (nesting with self references)
Screenshots
Here's a screenshot of items being added to a shopping list (JSON array) dynamically:
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
If you've found this library useful, and if you wish to support me you can:
Project details
Release history Release notifications | RSS feed
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.8.0.tar.gz
(89.2 kB
view hashes)
Built Distribution
Close
Hashes for django_jsonform-2.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa7298b5d4faa6fc207c733d7dbe2400a8d4ad06e6699cf4af1f6df3993e7278 |
|
MD5 | fdc0eb42f9932e5cd12e42978c75cb3d |
|
BLAKE2b-256 | 9425381a5bf252686080edfe3cef7289f275e16a2f09cbe3995490fd492c1b14 |