summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-08-12 12:19:46 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-08-13 13:13:25 +0200
commit9ae40d813796b70eb57bb957a19a72213e97179c (patch)
tree759c9bb26c8564805f78d90e870d8f8fc931c9fa /docs
parentf139372491b35d36748f0fb24146fb20f7e1eead (diff)
[3.1.x] Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning.
SimpleLazyObjects cause a crash when filtering. Thanks Tim L. White for the report. Regression in 4ed534758cb6a11df9f49baddecca5a6cdda9311. Backport of 20799cc0a6d98816b9ef0577e24691bd26b80d7d from master
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/3.1.1.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/3.1.1.txt b/docs/releases/3.1.1.txt
index 6aa091bb82..d0fa9a4418 100644
--- a/docs/releases/3.1.1.txt
+++ b/docs/releases/3.1.1.txt
@@ -25,3 +25,7 @@ Bugfixes
:meth:`~django.db.models.query.QuerySet.select_for_update()`. When using
related fields pointing to a proxy model in the ``of`` argument, the
corresponding model was not locked (:ticket:`31866`).
+
+* Fixed a regression in Django 3.1 that caused a crash when passing deprecated
+ keyword arguments to a queryset in ``TemplateView.get_context_data()``
+ (:ticket:`31877`).