FileField / ImageField - old files left around
|Reported by:||Ionuț Ciocîrlan||Owned by:||Adrian Holovaty|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When uploading a new file as a replacement for an old one using the FileField, the old file is left lying around on the file system.
The old one should be deleted, which would be consistent with the behavior exhibited when deleting an object with a FileField.