On Wed, 2007-12-26 at 08:53 +0530, Kenneth Gonsalves wrote: > > On 25-Dec-07, at 7:53 PM, l5x wrote: > > > Hm, I didn't have this error with my PhotoForm. You can look at it > > here: http://groups.google.com/group/django-users/browse_thread/ > > thread/6693f3294e710eab > > when you want to change the photo in the form, when the form comes up > is the filename of the original photo shown?
What you're seeing is normal browser behaviour. They don't populate file upload fields with any kind of initial data. As Joseph mentioned, that's a special case that will need to be built into ModelForms: manually copy over the initial data before validating for file fields. Regards, Malcolm -- Why can't you be a non-conformist like everyone else? http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---