diff options
| author | Adam Johnson <me@adamj.eu> | 2020-08-12 12:19:46 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-08-13 07:26:10 +0200 |
| commit | 20799cc0a6d98816b9ef0577e24691bd26b80d7d (patch) | |
| tree | 909345254bb022bfdb75d2036594e3344f87364d /docs | |
| parent | 8954f255bbf5f4ee997fd6de62cb50fc9b5dd697 (diff) | |
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.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/3.1.1.txt | 4 |
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`). |
