#34444: Summing through a One-to-Many relationship on the property of a 
JSONField
fails
-------------------------------------+-------------------------------------
     Reporter:  Clément Escolano     |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  4.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 > I don't know if this is normal behaviour to require casting but I guess
 this is OK for me

 Yes, this is normal behavior as almost anything can be stored in
 `JSONField`, so we assume it's also JSON by default.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34444#comment:3>
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/010701872c1df6ab-5cbb040a-2bc4-4c3d-b482-4a2ec5b6e3d0-000000%40eu-central-1.amazonses.com.

Reply via email to