#21787: Wrong SQL generated when using exclude() and model inheritance
-------------------------------------+-------------------------------------
     Reporter:  jmilner              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |               Resolution:  fixed
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  inheritance exclude  |      Needs documentation:  0
  sql orm                            |  Patch needs improvement:  0
    Has patch:  0                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by Anssi Kääriäinen <akaariai@…>):

 In [changeset:"e47b90e48f3532d312afcfaec55b2711b2129c02"]:
 {{{
 #!CommitTicketReference repository=""
 revision="e47b90e48f3532d312afcfaec55b2711b2129c02"
 [1.6.x] Fixed #21787 -- regression in MTI .exclude() queries

 Backpatch of 78a2617703bc1dada409f126db5c3db214913ff4 from master.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21787#comment:6>
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/065.9a988853cde90d19333822c34e57b1fb%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to