#15861: No way to reset a file in Admin section
----------------------------------+------------------------------
 Reporter:  anonymous             |         Owner:  nobody
     Type:  Cleanup/optimization  |        Status:  new
Milestone:                        |     Component:  contrib.admin
  Version:  1.2                   |      Severity:  Normal
 Keywords:                        |  Triage Stage:  Unreviewed
Has patch:  0                     |
----------------------------------+------------------------------
 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? :-)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15861>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to