#16979: adds Q objects for related fields.
-------------------------------------+-------------------------------------
     Reporter:  javier@…             |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  Q, related_fields    |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => wontfix
 * stage:  Accepted => Unreviewed


Comment:

 Thanks for this ticket, however the proposed API
 (`.filter(thing=Q(color='blue'))`) is very confusing for me and I don't
 see any advantages over the existing API (`.filter(thing__color='blue')`).
 Please start a discussion on the DevelopersMailingList, where you'll reach
 a wider audience and see what other think, I'd like to reach a consensus
 before moving this forward.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16979#comment:5>
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/076.b89801b79d08c0dbf58d6da671fb2889%40djangoproject.com.

Reply via email to