summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorZachLiuGIS <zachliugis@gmail.com>2016-02-10 20:46:57 -0500
committerTim Graham <timograham@gmail.com>2016-02-11 10:07:39 -0500
commit04e13c89138d48c20e774a2b6bf06796f73ac0fe (patch)
tree0023c60c24ace9e5dc2a176ffbf0f8c0c10f9c74 /docs
parent353aecbf8c1a8cc6f3985149e2895d49e53dfc1c (diff)
Fixed #26179 -- Removed null assignment check for non-nullable foreign key fields.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.10.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt
index 009020444f..c152c1dc78 100644
--- a/docs/releases/1.10.txt
+++ b/docs/releases/1.10.txt
@@ -479,6 +479,14 @@ creates the possibility of a deadlock. To adapt your code in the case of RQ,
you can `provide your own worker script <http://python-rq.org/docs/workers/>`_
that calls ``django.setup()``.
+Removed null assignment check for non-null foreign key fields
+-------------------------------------------------------------
+
+In older versions, assigning ``None`` to a non-nullable ``ForeignKey`` or
+``OneToOneField`` raised ``ValueError('Cannot assign None: "model.field" does
+not allow null values.')``. For consistency with other model fields which don't
+have a similar check, this check is removed.
+
Miscellaneous
-------------