mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-01 00:17:40 +03:00 
			
		
		
		
	Call out removal of pre_save/post_save more strongly
This commit is contained in:
		
							parent
							
								
									c01c631ef2
								
							
						
					
					
						commit
						0f5338ada9
					
				|  | @ -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`. | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user