[patch] post_add_manipulator_save and post_change_manipulator_save signals
|Reported by:||Rajesh Dhawan <rajesh.dhawan@…>||Owned by:||adrian|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
This patch adds two new signals: post_add_manipulator_save and post_change_manipulator_save. They are called from the django.db.models.manipulators.AutomaticManipulator save method, after the manipulator fully saves or changes a model and its related objects and files.
Unlike the regular post_save signal, these signals are called after all the related models and FileField/ImageField objects of the models have been fully saved to the database and filesystem. Therefore, these signals can be used to, for example, create thumbnails of ImageFields.
Change History (5)
Changed 8 years ago by Rajesh Dhawan <rajesh.dhawan@…>
comment:1 Changed 8 years ago by Rajesh Dhawan <rajesh.dhawan@…>
- priority changed from normal to low
- Version changed from magic-removal to SVN