django-jsonfield
JSONField for django models
Decision gist · record as of 2026-08-14
No. The package is abandoned (last commit June 2021, repository archived) and the maintainer explicitly recommends against using it on new projects. Use Django 3.1's native JSONField instead, or django-jsonfield-backport for older Django versions. Only install if maintaining legacy code already using this field.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django 1.8 or later; not compatible with Django 3.1+ without conflicts (see issue #5 regarding django.contrib.postgres.fields.JSONField interference).
- Low install friction with only Django and six as runtime dependencies.
- However, the package is abandoned as of June 2021 and explicitly not recommended for new projects—Django 3.1+ includes a native cross-database JSONField that should be used instead.
License · maintenance · safety
permissive license (permissive) — Licensed under BSD (permissive), so no legal restrictions on use, but the abandoned status and explicit recommendation against new projects should weigh more heavily than the license.
last release 2020-10-28 (2116 days) · last repo commit 2021-06-22 · 30 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 125,407 downloads/mo, #11,821 on PyPI
Alternatives
Verify before relying
pip install django-jsonfield
from django.db import models
import jsonfield
class MyModel(models.Model):
the_json = jsonfield.JSONField()- Whether the package works reliably with modern Django versions beyond 2.2 (last tested version mentioned in history).
- Current state of compatibility with Python 3.8+ given the package's age and abandoned status.
What it is and what it does
django-jsonfield is a Django model field that stores JSON-encodable Python objects (dicts, lists, strings) as text in the database and automatically deserializes them back to Python on retrieval. It was created in 2010 to fill a gap when databases lacked native JSON support, but that landscape has changed significantly.
The package is now in maintenance-only mode and explicitly abandoned. Django 3.1 (released August 2020) introduced a native cross-database JSONField that supersedes this library. The maintainer recommends using either Django 3.1's built-in field, the django-jsonfield-backport package for older Django versions, or simply storing JSON in a TextField if you don't need database-level querying of JSON contents.
Use it for
- Storing flexible, schema-less JSON data in Django models on older Django versions (pre-3.1) that lack native JSONField support.
- Migrating legacy projects that already use this field and cannot yet upgrade to Django 3.1+.
- Adding a jsonify template tag to convert Python data structures to JSON within Django templates with XSS protection.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last commit June 2021, repository archived) and the maintainer explicitly recommends against using it on new projects. Use Django 3.1's native JSONField instead, or django-jsonfield-backport for older Django versions. Only install if maintaining legacy code already using this field.
Install
django-jsonfield on PyPI
Before you install
Low install friction with only Django and six as runtime dependencies. However, the package is abandoned as of June 2021 and explicitly not recommended for new projects—Django 3.1+ includes a native cross-database JSONField that should be used instead.
Requires Django 1.8 or later; not compatible with Django 3.1+ without conflicts (see issue #5 regarding django.contrib.postgres.fields.JSONField interference).
License in practice
Licensed under BSD (permissive), so no legal restrictions on use, but the abandoned status and explicit recommendation against new projects should weigh more heavily than the license.
Quickstart
pip install django-jsonfield
from django.db import models
import jsonfield
class MyModel(models.Model):
the_json = jsonfield.JSONField()
Verify before relying
- Whether the package works reliably with modern Django versions beyond 2.2 (last tested version mentioned in history).
- Current state of compatibility with Python 3.8+ given the package's age and abandoned status.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesDjangosix |
| Maintenance | Abandoned 2,116 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 125,407 / month, #11,821 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 6 - MatureFramework :: DjangoFramework :: Django :: 1.11Framework :: Django :: 2.0Framework :: Django :: 2.1Framework :: Django :: 2.2Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3 |
Evidence: django_jsonfield-1.4.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 › “store json in django models”
- django-jsonfieldProvides a JSONField for Django models that stores JSON-encodable…
- jsonfieldA Django model field that stores and retrieves JSON data with…
- django-pydantic-fieldProvides type-safe Pydantic model schemas for Django JSONFields with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
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.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also jsonfield · SQLAlchemy-JSONField · django-mysql · django-jsoneditor · django-json-widget · django-prettyjson · djangorestframework-gis · django-jsonform · django-timezone-field