Commit 8c604717 by Tom Christie

Merge pull request #1172 from brutasse/fix/return-object

Return object in save_object
parents 545ee013 cc3c16ea
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment