summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2008-06-05 00:39:32 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2008-06-05 00:39:32 +0000
commit1452d46240609ff39dacf9ea2f759ed600c2f09f (patch)
tree523f61fd8ca3e9fa25a08ee532cda6e52ba1a406 /docs
parentd78f86a2204e610cb0cd1e2762500b3be88be184 (diff)
Fixed #6886: Tightened up ForeignKey and OneToOne field assignment. Specifically:
* Raise a ValueError if you try to assign the wrong type of object. * Raise a ValueError if you try to assign None to a field not specified with null=True. * Cache the set value at set time instead of just at lookup time. This is a slightly backwards-incompatible change; see BackwardsIncompatibleChanges for more details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions