aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorBruno ReniƩ2013-10-14 16:28:32 +0200
committerBruno ReniƩ2013-10-17 16:08:17 +0200
commitcc3c16eaa09c7dc63592ae8bf4ee30f1af263be1 (patch)
tree8a79ec6669c04410d4e9013400bc1bf9de3c760c /rest_framework
parentd68700740f052323f731d4bc4b1b17fe9949b029 (diff)
downloaddjango-rest-framework-cc3c16eaa09c7dc63592ae8bf4ee30f1af263be1.tar.bz2
Fix a docstring to reflect what the method does
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/serializers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py
index 33db82ee..6801e24d 100644
--- a/rest_framework/serializers.py
+++ b/rest_framework/serializers.py
@@ -912,7 +912,7 @@ class ModelSerializer(Serializer):
def save_object(self, obj, **kwargs):
"""
- Save the deserialized object and return it.
+ Save the deserialized object.
"""
if getattr(obj, '_nested_forward_relations', None):
# Nested relationships need to be saved before we can save the