mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning.
SimpleLazyObjects cause a crash when filtering.
Thanks Tim L. White for the report.
Regression in 4ed534758c.
This commit is contained in:
committed by
Mariusz Felisiak
parent
8954f255bb
commit
20799cc0a6
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user