mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Typo
This commit is contained in:
parent
6637b2fae0
commit
babdc78e61
0
docs/api-guide/validators.md
Normal file
0
docs/api-guide/validators.md
Normal file
|
@ -617,7 +617,7 @@ The view logic for the default method handlers has been significantly simplified
|
|||
|
||||
The `pre_save` and `post_save` hooks no longer exist, but are replaced with `perform_create(self, serializer)` and `perform_update(self, serializer)`.
|
||||
|
||||
These method should save the object instance by calling `serializer.save()`, adding in any explicit additional arguments as required. They may also perform any custom pre-save or post-save behavior.
|
||||
These methods should save the object instance by calling `serializer.save()`, adding in any additional arguments as required. They may also perform any custom pre-save or post-save behavior.
|
||||
|
||||
For example:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user