<p align="center">
<img src="https://raw.githubusercontent.com/bhch/django-jsonform/master/docs/_static/logo.png" width="200" alt="django-jsonform icon">
</p>
<p align="center">
A user-friendly JSON editing form for django admin.
</p>
<p align="center">
<img src="https://img.shields.io/badge/Python-%3E%3D%203.4-blue">
<img src="https://img.shields.io/badge/Django-%3E%3D%202.0-blue">
<img src="https://img.shields.io/pypi/dm/django-jsonform">
</p>
<p align="center">
<strong><a href="https://django-jsonform.rtfd.io">Documentation</a></strong> •
<strong><a href="https://bhch.github.io/react-json-form/playground/">Playground</a></strong> •
<strong><a href="https://pypi.org/project/django-jsonform/">PyPI</a></strong>
</p>
## Features
- [x] File uploads
- [x] Postgres `ArrayField`
- [x] Many inputs and field types
- [x] UI matches with Django admin's
- [x] Recursion (nesting with self references)
- [x] Validation
## Screenshots
Here's a screenshot of items being added to a shopping list (JSON array) dynamically:
![django-jsonform screenshot](https://raw.githubusercontent.com/bhch/django-jsonform/master/docs/_static/quickstart.gif)
## Install
Install via pip:
```sh
$ pip install django-jsonform
```
Edit your *settings.py* file:
```python
# 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](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](LICENSE.txt)
Raw data
{
"_id": null,
"home_page": "https://www.github.com/bhch/django-jsonform",
"name": "django-jsonform",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.4",
"maintainer_email": null,
"keywords": null,
"author": "Bharat Chauhan",
"author_email": "tell.bhch@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/dc/ab/45abdd49cd3b222680e0a90163ac663b52064444b4a2de7b9f9bd06cef97/django_jsonform-2.23.1.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <img src=\"https://raw.githubusercontent.com/bhch/django-jsonform/master/docs/_static/logo.png\" width=\"200\" alt=\"django-jsonform icon\">\n</p>\n\n<p align=\"center\">\n A user-friendly JSON editing form for django admin.\n</p>\n\n<p align=\"center\">\n <img src=\"https://img.shields.io/badge/Python-%3E%3D%203.4-blue\">\n <img src=\"https://img.shields.io/badge/Django-%3E%3D%202.0-blue\">\n <img src=\"https://img.shields.io/pypi/dm/django-jsonform\">\n</p>\n\n<p align=\"center\">\n <strong><a href=\"https://django-jsonform.rtfd.io\">Documentation</a></strong> •\n <strong><a href=\"https://bhch.github.io/react-json-form/playground/\">Playground</a></strong> •\n <strong><a href=\"https://pypi.org/project/django-jsonform/\">PyPI</a></strong>\n</p>\n\n## Features\n\n - [x] File uploads\n - [x] Postgres `ArrayField`\n - [x] Many inputs and field types\n - [x] UI matches with Django admin's\n - [x] Recursion (nesting with self references)\n - [x] Validation\n\n## Screenshots\n\nHere's a screenshot of items being added to a shopping list (JSON array) dynamically:\n\n![django-jsonform screenshot](https://raw.githubusercontent.com/bhch/django-jsonform/master/docs/_static/quickstart.gif)\n\n## Install\n\nInstall via pip:\n\n```sh\n$ pip install django-jsonform\n```\n\nEdit your *settings.py* file:\n\n```python\n# settings.py\n\nINSTALLED_APPS = [\n # ...\n 'django_jsonform'\n]\n```\n\n## Upgrading notes\n\nWhen upgrading from an older version of this library, please ensure that your\nbrowser is loading the latest static JavaScript files that come with this library.\n\n - In the development environment, clear the browser cache.\n - In the production environment, you must run the `collectstatic` command to update\n the static files.\n\n## Documentation\n\nQuickstart and usage docs can be found at [http://django-jsonform.rtfd.io](http://django-jsonform.rtfd.io).\n\n## Contributing\n\n - The JavaScript code is written in React and it lives in another repo: https://github.com/bhch/react-json-form. \n The JS code lacks proper documentation or comments, so before contributing, maybe open an issue and I can help you out.\n - For everything else (related to Django or widget's css), contribute directly to this repo.\n\n## License\n\n[BSD-3-Clause](LICENSE.txt)\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "A user-friendly JSON editing form for Django admin.",
"version": "2.23.1",
"project_urls": {
"Homepage": "https://www.github.com/bhch/django-jsonform"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5c9c67952e9ef627ab4dd9c3bdac676579a396b3c3ee9af605e41c48516ace73",
"md5": "3ebc0e0a3f5e1e9b0e22f5d4f78be570",
"sha256": "cd5900c9f4f69d90a40b3a495aeb66bf43f562b82bfb64be40a78a51bbc04a11"
},
"downloads": -1,
"filename": "django_jsonform-2.23.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3ebc0e0a3f5e1e9b0e22f5d4f78be570",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.4",
"size": 109083,
"upload_time": "2024-10-08T06:19:26",
"upload_time_iso_8601": "2024-10-08T06:19:26.131128Z",
"url": "https://files.pythonhosted.org/packages/5c/9c/67952e9ef627ab4dd9c3bdac676579a396b3c3ee9af605e41c48516ace73/django_jsonform-2.23.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dcab45abdd49cd3b222680e0a90163ac663b52064444b4a2de7b9f9bd06cef97",
"md5": "9784d8e8af1d49eb07b361173e6c89b7",
"sha256": "b75ea31263fbdde7190c1b02422587208359b19b1a9babc15ec3ed8260b26af9"
},
"downloads": -1,
"filename": "django_jsonform-2.23.1.tar.gz",
"has_sig": false,
"md5_digest": "9784d8e8af1d49eb07b361173e6c89b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.4",
"size": 108118,
"upload_time": "2024-10-08T06:19:30",
"upload_time_iso_8601": "2024-10-08T06:19:30.152413Z",
"url": "https://files.pythonhosted.org/packages/dc/ab/45abdd49cd3b222680e0a90163ac663b52064444b4a2de7b9f9bd06cef97/django_jsonform-2.23.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-08 06:19:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bhch",
"github_project": "django-jsonform",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "django-jsonform"
}