aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorXavier Ordoquy2015-02-02 10:00:24 +0100
committerXavier Ordoquy2015-02-02 10:00:24 +0100
commit0a805d979d95f862e296464efcb74ab5ca2b011a (patch)
tree1fd4244b7eef02110e84eda63c2fc0b9d4c83663 /rest_framework
parent6e2ea852d0deb178d60035c139b689a2ece12c70 (diff)
parent8f1d42e7d5146e19842d2837259284f8730b451d (diff)
downloaddjango-rest-framework-0a805d979d95f862e296464efcb74ab5ca2b011a.tar.bz2
Merge pull request #2501 from thedrow/patch-10
Fixed typos in docstrings
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/serializers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py
index 42d1e370..2fd907ec 100644
--- a/rest_framework/serializers.py
+++ b/rest_framework/serializers.py
@@ -633,11 +633,11 @@ def raise_errors_on_nested_writes(method_name, serializer, validated_data):
If we don't do this explicitly they'd get a less helpful error when
calling `.save()` on the serializer.
- We don't *automatically* support these sorts of nested writes brecause
+ We don't *automatically* support these sorts of nested writes because
there are too many ambiguities to define a default behavior.
Eg. Suppose we have a `UserSerializer` with a nested profile. How should
- we handle the case of an update, where the `profile` realtionship does
+ we handle the case of an update, where the `profile` relationship does
not exist? Any of the following might be valid:
* Raise an application error.