django-json-widget
Django json widget is an alternative widget that makes it easy to edit the jsonfield field of django.
Decision gist · record as of 2026-08-14
Yes. Low install friction, no runtime dependencies, active maintenance, permissive MIT license, and no known vulnerabilities make this a straightforward choice for Django projects using JSONField. Install if you need a better admin/form interface for JSON editing; skip only if you have no JSONField usage or prefer raw JSON input.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction installation with no runtime dependencies.
- Active maintenance with recent releases; last commit 2026-05-08 and latest release 2025-12-12 indicate ongoing support.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) allows use in both open-source and proprietary projects with minimal restrictions.
last release 2025-12-12 (245 days) · last repo commit 2026-05-08 · 508 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,058,474 downloads/mo, #4,425 on PyPI
Alternatives
Verify before relying
pip install django-json-widget
# In settings.py
INSTALLED_APPS = [
...,
'django_json_widget',
]
# In admin.py
from django.contrib import admin
from django.db.models import JSONField
from django_json_widget.widgets import JSONEditorWidget
@admin.register(YourModel)
class YourModelAdmin(admin.ModelAdmin):
formfield_overrides = {
JSONField: {'widget': JSONEditorWidget},
}- Whether the widget works with non-PostgreSQL database JSONField implementations (description mentions PostgreSQL-specific fields)
- Performance characteristics with large JSON documents
- Browser compatibility requirements for the embedded JSON editor
What it is and what it does
django-json-widget is a Django admin and form widget that replaces the default text input for JSONField with a visual JSON editor. It provides syntax highlighting, validation, and a structured editing interface for JSON data, making it easier for users to edit complex JSON structures without manually writing or parsing raw JSON text.
The widget integrates directly into Django's admin interface and forms through standard Django widget overrides. It exposes the underlying editor instance to JavaScript for programmatic access, allowing custom code to manipulate JSON data. Configuration options control editor dimensions and behavior through a dict of options. The package maintains active development with recent fixes for dark mode support and Django version compatibility.
Use it for
- Editing configuration data stored as JSON in Django admin without writing raw JSON syntax
- Building forms that accept complex nested JSON structures with visual validation feedback
- Providing non-technical users a safer interface to modify JSON fields in production data
- Integrating custom JavaScript logic to programmatically update JSON editor content from other form fields
- Supporting dark mode Django admin themes with automatic color scheme adaptation
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Low install friction, no runtime dependencies, active maintenance, permissive MIT license, and no known vulnerabilities make this a straightforward choice for Django projects using JSONField. Install if you need a better admin/form interface for JSON editing; skip only if you have no JSONField usage or prefer raw JSON input.
Install
django-json-widget on PyPI
Before you install
Low friction installation with no runtime dependencies. Active maintenance with recent releases; last commit 2026-05-08 and latest release 2025-12-12 indicate ongoing support.
License in practice
MIT license (permissive) allows use in both open-source and proprietary projects with minimal restrictions.
Quickstart
pip install django-json-widget
# In settings.py
INSTALLED_APPS = [
...,
'django_json_widget',
]
# In admin.py
from django.contrib import admin
from django.db.models import JSONField
from django_json_widget.widgets import JSONEditorWidget
@admin.register(YourModel)
class YourModelAdmin(admin.ModelAdmin):
formfield_overrides = {
JSONField: {'widget': JSONEditorWidget},
}
Verify before relying
- Whether the widget works with non-PostgreSQL database JSONField implementations (description mentions PostgreSQL-specific fields)
- Performance characteristics with large JSON documents
- Browser compatibility requirements for the embedded JSON editor
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 245 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,058,474 / month, #4,425 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: DjangoFramework :: Django :: 3.2Framework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.2Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: django_json_widget-2.1.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “json editor for django forms”
- django-json-widgetProvides a rich JSON editor widget for Django's admin interface and…
- django-jsoneditorProvides a Django form widget for editing JSON data using an embedded…
- django-aceIntegrates the ACE code editor into Django forms as a widget,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.
Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.
Install it if you need to query Databricks clusters or SQL warehouses from Python.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
See also django-ace · django-jsoneditor · django-jsonform · django-prettyjson · django-js-asset · djangocms-attributes-field · django-quill-editor · django-better-admin-arrayfield · django-summernote · django-tinymce