Changes between Version 3 and Version 4 of Ticket #35733, comment 1


Ignore:
Timestamp:
Sep 5, 2024, 9:37:33 AM (3 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35733, comment 1

    v3 v4  
    11If we are going to do this I think should use `paginator.__dict__.get('count')` instead to avoid causing the inverse problem if `count` is not already cached? Or maybe it's not necessary because a page cannot be created without `count` being cached in the first place?
    22
    3 I think that a similar optimization could be used for any `count` that is smaller than the page size.
     3I think that a similar optimization could be used for any `count` that is smaller than the paginator's page size.
Back to Top