#31973: TypeError loading data in JSONField if DB has native JSON support
-------------------------------------+-------------------------------------
     Reporter:  Adam Alton           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  3.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Agris Ameriks):

 The example code that shows broken functionality is here:
 https://code.djangoproject.com/ticket/31956#comment:8

 I think that JSONField should return the dict either way and it was
 working fine in 3.1.

 Previously fixed ordering bug was related to "with a custom decoder", but
 in code example I'm not specifying different decoder.

 I think that this will be "blocker" for users to be able to upgrade to
 next versions if they depend on JSONField being converted to dict
 automatically.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31973#comment:8>
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/067.65ebd9eee07e25e4086af70dd81ef63c%40djangoproject.com.

Reply via email to