summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-08-24 09:00:12 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-08-24 11:37:59 +0200
commitbb8f66934d93faf80cd1a2dda65aaedce21a6fc5 (patch)
treea5f799b61d7335b561ae2eae5128e0e417bc8824 /docs/releases
parent04e87e79a0bd2b1b9fdc30f884a637a3268733f0 (diff)
Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context."
This reverts commit 4ed534758cb6a11df9f49baddecca5a6cdda9311.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/3.1.1.txt4
-rw-r--r--docs/releases/3.1.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/releases/3.1.1.txt b/docs/releases/3.1.1.txt
index 0a0eeb461a..fd0843c2ae 100644
--- a/docs/releases/3.1.1.txt
+++ b/docs/releases/3.1.1.txt
@@ -31,3 +31,7 @@ Bugfixes
* Fixed a regression in Django 3.1 that caused a crash when decoding an invalid
session data (:ticket:`31895`).
+
+* Reverted a deprecation in Django 3.1 that caused a crash when passing
+ deprecated keyword arguments to a queryset in
+ ``TemplateView.get_context_data()`` (:ticket:`31877`).
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt
index 52e09b4d1d..a9ebe7b094 100644
--- a/docs/releases/3.1.txt
+++ b/docs/releases/3.1.txt
@@ -798,10 +798,6 @@ Miscellaneous
* The ``list`` message for :class:`~django.forms.ModelMultipleChoiceField` is
deprecated in favor of ``invalid_list``.
-* The passing of URL kwargs directly to the context by
- :class:`~django.views.generic.base.TemplateView` is deprecated. Reference
- them in the template with ``view.kwargs`` instead.
-
* Passing raw column aliases to :meth:`.QuerySet.order_by` is deprecated. The
same result can be achieved by passing aliases in a
:class:`~django.db.models.expressions.RawSQL` instead beforehand.