{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Adds a collapsible, interactive JSON viewer widget to Django forms, admin interfaces, and templates, rendering JSON data with syntax highlighting and expandable tree navigation.","skillfed_tags":["django-admin","json-viewer","ui-widget"],"use_cases":["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."],"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.\n\nYou 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.","worth_installing":"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\u20131.9 and Python 2.7, 3.4\u20133.5\u2014all 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."},"id":"django-prettyjson","links":{"html":"https://skillfed.io/packages/django-prettyjson","md":"https://skillfed.io/packages/django-prettyjson.md","pypi":"https://pypi.org/project/django-prettyjson/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2018-08-07","license_spdx":null,"license_treatment":"permissive","name":"django-prettyjson","python_support":"unspecified","summary":"Enables pretty JSON viewer in Django forms, admin, or templates"},"popularity":{"monthly_downloads":178818,"position":10186,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.1"}
