We had a long discussion about this very topic recently, search for the thread "Accessing a field's upload_to strftime". It didn't start out with what you're asking, but it certainly ended there.
Jay P. On 5/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi All, > > I'm using Django 0.91 and I have a slight problem with overwriting > files. > > In seems that by default admin does not allow one to overwrite an > existing file and I want to do that.ie, if I save a file call > myfile.jpg and upload and identically named file to the same location > using the admin interface, the second file is renamed myfile_.jpg. I > do not want this behavior and instead want the replace the old file > with the new one, preserving the original name. > > I would be grateful for any guidance in this. > > Best, > > Y > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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-users -~----------~----~----~----~------~----~------~--~---

