1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #31486 -- Deprecated passing unsaved objects to related filters.

Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
This commit is contained in:
Albert Defler
2022-02-05 20:00:20 +00:00
committed by Mariusz Felisiak
parent 11cc227344
commit 2b6a3baebe
4 changed files with 46 additions and 1 deletions

View File

@@ -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
=======================