1👍
Use the post_save
signal of your Image model. In the same way you can use post_delete
to actually delete the image file when the record is deleted.
You can review the Signals documentation here.
Source:stackexchange.com
1👍
Use the post_save
signal of your Image model. In the same way you can use post_delete
to actually delete the image file when the record is deleted.
You can review the Signals documentation here.