#25367: Allow expressions in .filter() calls
-------------------------------------+-------------------------------------
     Reporter:  Anssi Kääriäinen     |                    Owner:  Matthew
         Type:                       |  Schinckel
  Cleanup/optimization               |                   Status:  closed
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"4137fc2efce2dde48340728b8006fc6d66b9e3a5" 4137fc2e]:
 {{{
 #!CommitTicketReference repository=""
 revision="4137fc2efce2dde48340728b8006fc6d66b9e3a5"
 Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and
 exclude().

 This allows using expressions that have an output_field that is a
 BooleanField to be used directly in a queryset filters, or in the
 When() clauses of a Case() expression.

 Thanks Josh Smeaton, Tim Graham, Simon Charette, Mariusz Felisiak, and
 Adam Johnson for reviews.

 Co-Authored-By: NyanKiyoshi <[email protected]>
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/25367#comment:15>
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/066.c296d174721569c0a92910a65089e4c2%40djangoproject.com.

Reply via email to