#27985: Converting `Foo.objects.filter(bar=None)` to an `IsNull` too early.
-------------------------------------+-------------------------------------
Reporter: Jarek Glowacki | Owner: Sergey
| Fedoseev
Type: Bug | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: sql None NULL | Triage Stage: Accepted
transform |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"58da81a5a372a69f0bac801c412b57f3cce5f188" 58da81a5]:
{{{
#!CommitTicketReference repository=""
revision="58da81a5a372a69f0bac801c412b57f3cce5f188"
Fixed #27985 -- Fixed query for __exact=value when get_prep_value()
converts value to None.
Also fixed crash of .filter(field__transform=None).
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27985#comment:7>
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/065.812f122fb1667bfe941d8bf997fe7fb2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.