Using signal to delete old profile picture when sending update request. What is Signal in Django. Signals help decoupled applications get notified when actions occur elsewhere in the framework. Signals are signals or notifications that are fired at d...

Markdown supported · ⌘↵ to post
Dmytro Litvinov
Python developer from Ukraine 🇺🇦
Hi there,
Found out that article in Hashnode weekly newsletter :)
Btw, there is a package called django-cleanup which automatically deletes files for FileField, ImageField and subclasses.