diff options
| author | Albert Defler <alnw@interia.eu> | 2022-02-05 20:00:20 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-02-25 07:51:37 +0100 |
| commit | 2b6a3baebe70e4d481dd256bdb774ac15e248540 (patch) | |
| tree | d64a0e39dd47dcb3eff6a4ac9a3a3835829a5c03 /docs | |
| parent | 11cc227344de06ffd0ad7f07c4e4bdd18851adac (diff) | |
Fixed #31486 -- Deprecated passing unsaved objects to related filters.
Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 2 | ||||
| -rw-r--r-- | docs/releases/4.1.txt | 3 |
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 ======================= |
