django__django-12308
JSONField are not properly displayed in admin when they are readonly.
Verdict: the issue points to the file or function that was changed (Tier B).
I believe the fix would be to add a special case in django.contrib.admin.utils.display_for_field to call the prepare_value of the JSONField (not calling json.dumps directly to take care of the InvalidJSONInput case).
The two checks disagreed (stated fix vs. points to it); the lower reading shown: “I believe the fix would be to add a special case in django.contrib.admin.utils.display_for_field to call the prepare_value of the JSONField (not call…”
All SWE-bench Verified tasks · more django/django tasks · How the check works