mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 08:29:59 +03:00
Update serializers.md
Removed unwanted word, "neither".
This commit is contained in:
parent
c62e3ca764
commit
8856a489a2
|
@ -116,7 +116,7 @@ Calling `.save()` will either create a new instance, or update an existing insta
|
|||
# .save() will update the existing `comment` instance.
|
||||
serializer = CommentSerializer(comment, data=data)
|
||||
|
||||
Both the `.create()` and `.update()` methods are optional. You can implement either neither, one, or both of them, depending on the use-case for your serializer class.
|
||||
Both the `.create()` and `.update()` methods are optional. You can implement either, one, or both of them, depending on the use-case for your serializer class.
|
||||
|
||||
#### Passing additional attributes to `.save()`
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user