File deletion of FileField and ImageField in the Admin panel
This code runs well on Django 1.4 also with the Admin panel. It's important to get the storage and the path before delete the model or the latter will persist void also if deleted.
- admin
- imagefield
- filefield
- delete
- file