summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt2
-rw-r--r--docs/releases/4.1.txt3
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 4818846bea..11f69b1844 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -85,6 +85,8 @@ details on these changes.
objects without providing the ``chunk_size`` argument will no longer be
allowed.
+* Passing unsaved model instances to related filters will no longer be allowed.
+
.. _deprecation-removed-in-4.1:
4.1
diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt
index e3112ad0f5..dafee5271f 100644
--- a/docs/releases/4.1.txt
+++ b/docs/releases/4.1.txt
@@ -484,6 +484,9 @@ Miscellaneous
versions, no prefetching was done. Providing a value for ``chunk_size``
signifies that the additional query per chunk needed to prefetch is desired.
+* Passing unsaved model instances to related filters is deprecated. In Django
+ 5.0, the exception will be raised.
+
Features removed in 4.1
=======================