#32784: django.core.paginator.count should check for method arguments without
defaults
------------------------------------+--------------------------------------
Reporter: Christopher Dignam | Owner: nobody
Type: Uncategorized | Status: closed
Component: Core (Other) | Version: 3.2
Severity: Normal | Resolution: wontfix
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 Carlton Gibson):
* status: new => closed
* resolution: => wontfix
Comment:
The property here is intended to work with
[https://docs.djangoproject.com/en/3.2/ref/models/querysets#django.db.models.query.QuerySet.count
QuerySet.count] (and anything that quacks like it). Adjusting that isn't
going to be worth the complication.
The approach would be to subclass `Paginator` in your project to allow
handling your custom `count()` (with arguments) variation.
--
Ticket URL: <https://code.djangoproject.com/ticket/32784#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/064.b0441caad5e1df7653d0400dc422b880%40djangoproject.com.