#30349: Using exclude on annotated FilteredRelation doesn't work
-------------------------------------+-------------------------------------
     Reporter:  Lucas Miller         |                    Owner:  robinh00d
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     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 Simon Charette):

 * stage:  Accepted => Ready for checkin


Comment:

 Thanks for the detailed explanation and adjustments robinh00d, the changes
 in `trim_start` do make sense.

 By the way, I wouldn't be surprised if the adjustments made here paved the
 way for adding nested relation supports to `FilteredRelation` (#29789) as
 it was removed at the last minute because of issues when interacting with
 `exclude`. No obligation to tackle this ticket next but I thought I'd
 mention it as you might have a lot of context worth reusing or sharing.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30349#comment:10>
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/072.cc3e8ff8a1ac59f1db1447d2d11abe4e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to