#27257: Use the ->> operator when filtering builtin text lookups on JSONField 
keys
-------------------------------------+-------------------------------------
     Reporter:  Nick Stefan          |                    Owner:  Simon
                                     |  Charette
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.postgres     |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * keywords:  QuerySet.extra =>
 * owner:  nobody => Simon Charette
 * version:  1.9 => master
 * status:  new => assigned


Comment:

 The operator precedence crash was fixed by
 2eb7d6e6d41480f21305fc6abe2f1a443491ddec but we should really be using the
 `->>` for text lookups as `::text` will use the text representation of the
 accessed key.

--
Ticket URL: <https://code.djangoproject.com/ticket/27257#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.1bf08c34de8190084aa192c7ae351b1a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to