#2983: ImageField not deleing previously attached file when updated -------------------------------------------+-------------------------------- Reporter: Shimon | Owner: tbecker Status: closed | Milestone: 1.1 Component: File uploads/storage | Version: SVN Resolution: wontfix | Keywords: fs-rf-docs Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 1 | -------------------------------------------+-------------------------------- Comment (by anonymous):
'''It can't be done with FileStorage''' because FileStorage knows nothing about context of file creation. It can't decide wether owerwrite the old file (if it belongs to the same FileField as the new one), or append "_" to it's name (if old file belongs to other record's FileField). -- Ticket URL: <http://code.djangoproject.com/ticket/2983#comment:22> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---