#24753: Reverse FK conditions filter queryset when used in case statements in
some
cases
-------------------------------------+-------------------------------------
Reporter: mdentremont | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.8
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by akaariai):
I have a guess what could be happening here. The ORM generates joins as
INNER JOINs when using build_filter(). We should manually promote those
joins to OUTER JOINs afterwards. Can't work on this today, so I'll check
this tomorrow.
--
Ticket URL: <https://code.djangoproject.com/ticket/24753#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.d9ff1de77b2cf9c9782672d77ad90ff8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.