From 4d78d7338cc5cfaa0afcfc9d240d753328bbf399 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 12 Jan 2023 19:31:49 +0100 Subject: Refs #31486 -- Removed ability to pass unsaved model instances to related filters. Per deprecation timeline. --- docs/releases/5.0.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index e058f4a76c..a5c5916511 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -322,3 +322,5 @@ to remove usage of these features. * The usage of ``QuerySet.iterator()`` on a queryset that prefetches related objects without providing the ``chunk_size`` argument is no longer allowed. + +* Passing unsaved model instances to related filters is no longer allowed. -- cgit v1.3