No way to reset a file in Admin section
|Reported by:||anonymous||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If I submit a file through the admin section, there is no way for me to clear the file, without going into the DB shell itself or writing code to remove it. This is not ideal.
Imagine I have a file field that has an optional thumbnail field that will display the thumbnail if given, or just a standard image if not. Now lets say my client puts up a thumbnail but later realises (because they are fools) that the image was not cleared and has to take it down. The only way to solve this is to upload the default image, which they might not have. It also takes up unnecessary space on the server.
From a DB perspective, it is the same type as a Charfield, which can be set to through the Admin section, so i see no reason why this isn't the same for a File/Image Field.
Or am I just being lazy? :-)