Changes between Initial Version and Version 2 of Ticket #29244


Ignore:
Timestamp:
Mar 20, 2018, 1:57:09 PM (6 years ago)
Author:
Rob Jauquet
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29244 – Description

    initial v2  
    4545The correct way of passing options using {{{**options}}} instead of {{{options=None}}} fixes this case, but the silent error and fallback to calling {{{len}}} on a queryset causes an unexpected expensive query when using pagination.
    4646
    47 [=#link1 (1)] https://github.com/django/django/blob/master/django/core/paginator.py#L85
    48 [=#link2 (2)] https://github.com/django/django/blob/master/django/db/models/expressions.py#L372
    49 [=#link3 (3)] https://github.com/django/django/blob/master/django/core/paginator.py#L90
     47[=#link1 (1)] https://github.com/django/django/blob/281c0223b376d6fa1a11e0726d824ed35cfe7524/django/core/paginator.py#L85
     48[=#link2 (2)] https://github.com/django/django/blob/281c0223b376d6fa1a11e0726d824ed35cfe7524/django/db/models/expressions.py#L372
     49[=#link3 (3)] https://github.com/django/django/blob/281c0223b376d6fa1a11e0726d824ed35cfe7524/django/core/paginator.py#L90
Back to Top