#26983: models.Manager query "filter(field__isnull=False)" not working in 1.10
-------------------------------------+-------------------------------------
Reporter: weidwonder | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.10
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: queryset | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by bmispelon):
I simplified the testcase a bit to get rid of some "moving parts".
The key to the failure seems to be the `to_field` attribute of the
ForeignKey. Without it, the query seems to be generated correctly.
--
Ticket URL: <https://code.djangoproject.com/ticket/26983#comment:3>
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/068.a139681087b4c03385e001cd558652ca%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.