mirror of
https://github.com/django/django.git
synced 2025-10-26 23:26:08 +00:00
[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 in4ed534758c. Backport of20799cc0a6from master
This commit is contained in:
committed by
Mariusz Felisiak
parent
f139372491
commit
9ae40d8137
@@ -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