#15316: Filter with isnull=False failing when isnull checked on subclass of FK
model
-------------------------------------+-------------------------------------
Reporter: zimnyx | Owner: ethlinn
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: SVN | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords:
Needs documentation: 0 | Has patch: 1
Patch needs improvement: 1 | Needs tests: 0
UI/UX: 0 | Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by ethlinn):
* owner: nobody => ethlinn
Comment:
I added the patch with tests for four cases mentioned above. I also
changed models for the tests. Validation, apart from checking the count,
is now done with asserting if a tested QuerySet is the same as a QuerySet
that is filtered with pks of correct objects.
I hope, it is exactly what I was expected to do. I also added myself to
AUTHORS (Yay!) as russellm suggested :).
--
Ticket URL: <https://code.djangoproject.com/ticket/15316#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.