#19261: Page.__getitem__ usage causes queryset to evaluate when doing method
lookups
-------------------------------------+-------------------------------------
Reporter: trbs | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: 1.4
Component: Template system | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: page, type_error, | Needs documentation: 0
__getitem__, pagination | Patch needs improvement: 0
Has patch: 1 | UI/UX: 0
Needs tests: 1 |
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Comment (by trbs):
Added a new patch to #19261 which uses the same construct as
QuerySet.__getitem__ and adds tests.
--
Ticket URL: <https://code.djangoproject.com/ticket/19261#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.