A user-friendly JSON editing form for django admin.
Documentation • Playground • PyPI
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:
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
collectstaticcommand 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
Metadata
Release files for django-jsonform 2.23.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_jsonform-2.23.2.tar.gz | 108.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_jsonform-2.23.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 217.3 kB
Release files / django_jsonform-2.23.2.tar.gz
| Download URL | django_jsonform-2.23.2.tar.gz |
|---|---|
| Size | 108.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fa2ba7c082be51d738e6c66e35075a3cb9ebc2f941e3a477c988900a7fe3269
|
|
BLAKE2b-256 checksum How to use checksums |
9ba883c57acbc153b86615be279cee5a194ce1163b578f29a9f6d658f267785e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / django_jsonform-2.23.2-py3-none-any.whl
| Download URL | django_jsonform-2.23.2-py3-none-any.whl |
|---|---|
| Size | 109.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b7f94c5a2bd22c844e035a9940a9c8586f7b8fc3346ef2a6a13ba608e0059d7
|
|
BLAKE2b-256 checksum How to use checksums |
3a8e8766f4bc535917ccbc6b3dcb57caf82210a6bacd613c3d9dbaec81018935
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|