aboutsummaryrefslogtreecommitdiffstats
path: root/docs/topics
diff options
context:
space:
mode:
authorTom Christie2013-01-04 13:50:40 +0000
committerTom Christie2013-01-04 13:50:40 +0000
commiteb14278a3b08247c0aff5b2338a98203b51728c3 (patch)
treea7ee5329f62b57d34c8e7de9f9bc73e35ec42896 /docs/topics
parent4c86fd46d772e1fd3789d9ed2a76b9b92cce0872 (diff)
downloaddjango-rest-framework-eb14278a3b08247c0aff5b2338a98203b51728c3.tar.bz2
Add proper validation for updating relational fields with incorrect types. Fixes #446.
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/release-notes.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/topics/release-notes.md b/docs/topics/release-notes.md
index c073c03b..40b65761 100644
--- a/docs/topics/release-notes.md
+++ b/docs/topics/release-notes.md
@@ -16,6 +16,10 @@ Major version numbers (x.0.0) are reserved for project milestones. No major poi
## 2.1.x series
+### Master
+
+* Bugfix: Validation errors instead of exceptions when related fields receive incorrect types.
+
### 2.1.15
**Date**: 3rd Jan 2013
@@ -36,9 +40,9 @@ Major version numbers (x.0.0) are reserved for project milestones. No major poi
* Bugfix: Model fields with `blank=True` are now `required=False` by default.
* Bugfix: Nested serializers now support nullable relationships.
-**Note**: From 2.1.14 onwards, relational fields move out of the `fields.py` module and into the new `relations.py` module, in order to seperate them from regular data type fields, such as `CharField` and `IntegerField`.
+**Note**: From 2.1.14 onwards, relational fields move out of the `fields.py` module and into the new `relations.py` module, in order to separate them from regular data type fields, such as `CharField` and `IntegerField`.
-This change will not affect user code, so long as it's following the recommended import style of `from rest_framework import serializers` and refering to fields using the style `serializers.PrimaryKeyRelatedField`.
+This change will not affect user code, so long as it's following the recommended import style of `from rest_framework import serializers` and referring to fields using the style `serializers.PrimaryKeyRelatedField`.
### 2.1.13