hi, thats default behaviour of the image fields.
The old image not removed, but still keep intact, and the new image user uploaded will be named with a _1.ext , _2.ext you must handle the saving yourselft to make it rewrite the old images. Check the snippet i use : http://djangosnippets.org/snippets/2754/ hope helps On Fri, May 18, 2012 at 5:42 PM, nishad <mail2nishad...@gmail.com> wrote: > Hi... > Am new to the Django community... > > Topic:- I have noticed an issue related to the image uploading and it > saving with Django admin interface. > > Steps to trace the issue :- > > 1. When i was uploaded/(browse) and saved an Article with an image > (.jpg) , for the first time it saves perfectly > as follows (smedia/images/misc/sample.jpg) > 2. For the second time i have tried to update some textual contents in > the article and saves once again through the same admin interface , > but this time image get saved as follows (smedia/images/misc/ > sample_1.jpg) > > Issue :- > It cause an image duplication in respective folder and also an error > when page/template is rendered through browser. > > Can any one please suggest a method to avoid the duplication of image > on updating the existing one..... > > Thanks in advance..... > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.