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:
committed by
Carlton Gibson
parent
1e96de4f97
commit
e13cfc6dfd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user