Commit 0f5338ad by Tom Christie

Call out removal of pre_save/post_save more strongly

parent c01c631e
...@@ -190,6 +190,8 @@ These override points are also particularly useful for adding behavior that occu ...@@ -190,6 +190,8 @@ These override points are also particularly useful for adding behavior that occu
instance = serializer.save() instance = serializer.save()
send_email_confirmation(user=self.request.user, modified=instance) send_email_confirmation(user=self.request.user, modified=instance)
**Note**: These methods replace the old-style version 2.x `pre_save`, `post_save`, `pre_delete` and `post_delete` methods, which are no longer available.
**Other methods**: **Other methods**:
You won't typically need to override the following methods, although you might need to call into them if you're writing custom views using `GenericAPIView`. You won't typically need to override the following methods, although you might need to call into them if you're writing custom views using `GenericAPIView`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment