summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-01-29 14:29:09 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-01-31 10:19:12 +0100
commita97111eabf39e50625d7a8acc6cd46f4c5dad0da (patch)
treeef47764042db706a115c89aa079c30e54ea897e8 /docs
parent4e8d89020cca87fcf484eb6b6b514b4c9bfa592f (diff)
Fixed 31207 -- Prevented references to non-local remote fields in ForeignKey.to_field.
Thanks Simon Charette for the initial patch and review.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/3.1.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt
index 221cf39dee..40380b6274 100644
--- a/docs/releases/3.1.txt
+++ b/docs/releases/3.1.txt
@@ -449,6 +449,9 @@ Miscellaneous
decorator now takes precedence over the ``max-age`` directive from the
``Cache-Control`` header.
+* Providing a non-local remote field in the :attr:`.ForeignKey.to_field`
+ argument now raises :class:`~django.core.exceptions.FieldError`.
+
.. _deprecated-features-3.1:
Features deprecated in 3.1