1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Fixed #31596 -- Changed ForeignKey.validate() to use the base manager.

This commit is contained in:
Jon Dufresne
2020-06-25 10:28:52 +02:00
committed by Carlton Gibson
parent 1e96de4f97
commit e13cfc6dfd
6 changed files with 77 additions and 1 deletions

View File

@@ -349,6 +349,11 @@ Miscellaneous
(``USE_L10N = True``). After upgrading to Django 3.2 in such configurations,
the first request to any previously cached value will be a cache miss.
* ``ForeignKey.validate()`` now uses
:attr:`~django.db.models.Model._base_manager` rather than
:attr:`~django.db.models.Model._default_manager` to check that related
instances exist.
.. _deprecated-features-3.2:
Features deprecated in 3.2