This commit is contained in:
Tom Christie 2014-10-09 11:39:01 +01:00
parent 6637b2fae0
commit babdc78e61
2 changed files with 1 additions and 1 deletions

View File

View 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: