#32784: django.core.paginator.count should check for method arguments without
defaults
-----------------------------------------+------------------------
               Reporter:  chdsbd         |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Core (Other)   |        Version:  3.2
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 The count method of the Django Paginator class should allow the QuerySet
 count method to have default arguments.

 QuerySets with extra arguments will not error when called as long as they
 have defaults.




 
https://github.com/django/django/blob/7e51893911237dfca9294e3ca12163ff813fb656/django/core/paginator.py#L96

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32784>
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/049.646fccdf469e70604df87e50ccc4ee8e%40djangoproject.com.

Reply via email to