Call out removal of pre_save/post_save more strongly

This commit is contained in:
Tom Christie 2014-11-26 09:06:15 +00:00
parent c01c631ef2
commit 0f5338ada9

View File

@ -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`.