mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Fix a docstring to reflect what the method does
This commit is contained in:
parent
d68700740f
commit
cc3c16eaa0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user