"FileField no longer deletes files" unclear
|Reported by:||philipn||Owned by:||nobody|
|Cc:||dmclain||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The new model <-> FileField behavior documentation is unclear. The way it's currently written leads one to believe that FileFields'
delete method doesn't do anything on the disk. But if you call
m.file.delete() the file is deleted from disk.
Attached a patch with some suggested wording.
Change History (8)
comment:1 Changed 6 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|