$npx skillfedfor your agent

django-prettyjson

Enables pretty JSON viewer in Django forms, admin, or templates

SkipPyPI Dynamic ContentReleased Aug 2018178.8K downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_prettyjson-0.4.1-py2.py3-none-any.whl
v0.4.1 · released 2018-08-07

No, not for new projects. The package has no known vulnerabilities and low install friction, but it has not been updated since 2018 and declares support only for Django 1.8–1.9 and Python 2.7, 3.4–3.5—all out of support. While the core functionality may still work on modern Django, there is no maintenance signal, no test confirmation, and no indication the author is actively supporting it. For modern Django projects, consider alternatives or fork and update this package yourself if you need this specific widget.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Django to be installed and configured; the package's stated support is for Django 1.8–1.9, which are no longer maintained.
  • Low install friction with no runtime dependencies.
  • The package is aging—last release was 2018-08-07 and the repository shows no recent activity despite being unarchived.

License · maintenance · safety

BSD (permissive) — Licensed under BSD (permissive), so you can use, modify, and distribute the package freely in commercial and open-source projects with minimal restrictions.

last release 2018-08-07 (2929 days) · last repo commit 2025-05-24 · 143 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 178,818 downloads/mo, #10,186 on PyPI

Verify before relying

pip install django-prettyjson

# In settings.py
INSTALLED_APPS = [
    ...,
    'prettyjson',
]

# In a form or admin
from prettyjson import PrettyJSONWidget
from django import forms

class MyForm(forms.ModelForm):
    class Meta:
        widgets = {'json_field': PrettyJSONWidget()}
  • Whether the package works with modern Django versions (3.x, 4.x, 5.x) despite classifiers listing only 1.8–1.9.
  • Whether the jQuery JSONView adapter it uses remains compatible with current browser standards and jQuery versions.
  • Current test coverage and whether tests pass on modern Python and Django versions.
Same gist for agents: .md · .json

What it is and what it does

django-prettyjson is a Django app that wraps JSON data in an interactive, collapsible viewer for use in forms, admin pages, and templates. It adapts jQuery JSONView to render JSON with syntax highlighting and tree-style navigation, letting users expand and collapse nested objects and arrays. The viewer works with JSON strings, Django's JSONField (from both django.contrib.postgres and the third-party django-jsonfield package), and any Python object serializable to JSON.

You install it as a Django app, then use the PrettyJSONWidget in your form or admin class, or call the prettyjson template tag in your templates. The widget can render JSON as raw text with a toggle button, or as parsed JSON by default. It includes jQuery (namespaced to avoid conflicts) and CSS for styling, though you can disable jQuery loading if your page already includes it.

Use it for

  • Display JSON data in Django admin for models storing JSON fields, making it easier to inspect nested structures.
  • Render API response payloads or configuration objects as collapsible trees in forms or detail pages.
  • Visualize QuerySets or Python dicts as JSON in templates without writing custom JavaScript.
  • Allow end users to review and edit JSON data in admin forms with visual structure guidance.
  • Debug and inspect complex JSON documents in development by toggling between raw and parsed views.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, not for new projects.

The package has no known vulnerabilities and low install friction, but it has not been updated since 2018 and declares support only for Django 1.8–1.9 and Python 2.7, 3.4–3.5—all out of support. While the core functionality may still work on modern Django, there is no maintenance signal, no test confirmation, and no indication the author is actively supporting it. For modern Django projects, consider alternatives or fork and update this package yourself if you need this specific widget.

Install

django-prettyjson on PyPI

Before you install

Low install friction with no runtime dependencies. The package is aging—last release was 2018-08-07 and the repository shows no recent activity despite being unarchived. Classifiers indicate support for Django 1.8–1.9 and Python 2.7, 3.4–3.5, which are well out of support.

Requires Django to be installed and configured; the package's stated support is for Django 1.8–1.9, which are no longer maintained.

License in practice

Licensed under BSD (permissive), so you can use, modify, and distribute the package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install django-prettyjson

# In settings.py
INSTALLED_APPS = [
    ...,
    'prettyjson',
]

# In a form or admin
from prettyjson import PrettyJSONWidget
from django import forms

class MyForm(forms.ModelForm):
    class Meta:
        widgets = {'json_field': PrettyJSONWidget()}

Verify before relying

  • Whether the package works with modern Django versions (3.x, 4.x, 5.x) despite classifiers listing only 1.8–1.9.
  • Whether the jQuery JSONView adapter it uses remains compatible with current browser standards and jQuery versions.
  • Current test coverage and whether tests pass on modern Python and Django versions.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 2,929 days since the last release
Last repo commit
First released
Downloads178,818 / month, #10,186 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaFramework :: DjangoFramework :: Django :: 1.8Framework :: Django :: 1.9Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5

Evidence: django_prettyjson-0.4.1-py2.py3-none-any.whl

Tags

Capabilities
django json viewer widgetpretty json display djangojson form field visualizationdjango admin json viewercollapsible json rendererdjango template json displayjson syntax highlighting django
Topics
django-adminjson-viewerui-widget
PyPI keywords
django-prettyjson

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 › “django json viewer widget”

  • django-prettyjsonAdds a collapsible, interactive JSON viewer widget to Django forms,…
  • django-jsoneditorProvides a Django form widget for editing JSON data using an embedded…
  • django-json-widgetProvides a rich JSON editor widget for Django's admin interface and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also django-json-widget · django-jsonform · django-jsoneditor · django-map-widgets · django-ajax-selects · django-jsonfield · django-better-admin-arrayfield · django-admin-autocomplete-filter · django-ace · django-summernote