summaryrefslogtreecommitdiff
path: root/tests/template_tests
diff options
context:
space:
mode:
authorKeryn Knight <keryn@kerynknight.com>2021-08-09 12:28:40 +0100
committerGitHub <noreply@github.com>2021-08-09 13:28:40 +0200
commit921e4ccb77ed2056d5cdfc6756ee82b54831937f (patch)
tree5d3b38dd4c7b68ecbf8f63d9b55fda64ac55a7df /tests/template_tests
parentfffeb5df554c93f0f9e634a820323b4771e9bfc7 (diff)
downloaddjango-921e4ccb77ed2056d5cdfc6756ee82b54831937f.tar.gz
Fixed #33003 -- Removed **kwargs from QuerySet._chain().
The functionality of updating the __dict__ was only present to allow for pickling a Prefetch object, which is a comparably rare operation. Forcing the __getstate__() implementation to handle it allows the chaining operation to be slightly faster, which is much more common.
Diffstat (limited to 'tests/template_tests')
0 files changed, 0 insertions, 0 deletions