#31204: Paginator with count = 0 always produce non-limited QuerySet.
------------------------------------+--------------------------------------
Reporter: Alexander Pervakov | Owner: nobody
Type: Bug | Status: closed
Component: Core (Other) | Version: 3.0
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------------+--------------------------------------
Changes (by felixxm):
* status: new => closed
* type: Uncategorized => Bug
* component: contrib.admin => Core (Other)
* has_patch: 1 => 0
* resolution: => needsinfo
Comment:
Thanks for this report, however I'm sure how the fact that a custom
paginator returned `0` in `count()` ended with a queryset without any
limit. As far as I'm concerned builtin paginators return and empty
queryset in such cases, so it looks like an issue in custom paginator
implementation .
--
Ticket URL: <https://code.djangoproject.com/ticket/31204#comment:1>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.26e6cf1abb54e88a882a60bbf614573a%40djangoproject.com.