#31157: JSONField are not properly displayed in admin when they are readonly.
-------------------------------+------------------------------------
     Reporter:  Gagaro         |                    Owner:  dbxnr
         Type:  Bug            |                   Status:  assigned
    Component:  contrib.admin  |                  Version:  3.0
     Severity:  Normal         |               Resolution:
     Keywords:  admin json     |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by Simon Charette):

 The proposed patch is problematic as the first version coupled
 `contrib.postgres` with `.admin` and the current one is based off the type
 name which is brittle and doesn't account for inheritance.

 It might be worth waiting for #12990 to land before proceeding here as the
 patch will be able to simply rely of `django.db.models.JSONField` instance
 checks from that point.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31157#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.a493b684619af966b1d785a062c77ea6%40djangoproject.com.

Reply via email to