Skip to content

Commit

Permalink
Update writeable nested serializer doc (encode#7198)
Browse files Browse the repository at this point in the history
  • Loading branch information
prayashm authored and sigvef committed Dec 3, 2022
1 parent ab56510 commit 1389aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-guide/serializers.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ Here's an example for an `.update()` method on our previous `UserSerializer` cla
def update(self, instance, validated_data):
profile_data = validated_data.pop('profile')
# Unless the application properly enforces that this field is
# always set, the follow could raise a `DoesNotExist`, which
# always set, the following could raise a `DoesNotExist`, which
# would need to be handled.
profile = instance.profile

Expand Down

0 comments on commit 1389aaa

Please sign in to comment.