#19263: Filtering __in a sliced queryset with a 0 limit raises an error
-------------------------------------+-------------------------------------
Reporter: chkwok@… | Owner: biern
Type: Bug | Status: closed
Component: Database layer | Version: 1.4
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
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:"233b46f93171d4a7cc279bc3f35e5a99e9a167b8" 233b46f9]:
{{{
#!CommitTicketReference repository=""
revision="233b46f93171d4a7cc279bc3f35e5a99e9a167b8"
Fixed #19263 -- Fixed crash when filtering using __in and an empty
QuerySet.
Thanks Marcin Biernat for the initial patch and tests.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/19263#comment:20>
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/077.ee6327085c92c362a5a9a6f78cd764ba%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.