Hi, The easy way is to check in backend, if the filefield empty, don't modified the value.
-djibon- On Sat, Nov 7, 2009 at 9:54 PM, hao he <[email protected]> wrote: > I display a ModelForm. > if user edit the field, ModelForm.save() will save the edited field,and the > non-edited field keep its origin value. > > but, FileField/ImageField do not act as that. > if users have not modified the FieldField, it will be empty. > > how to implement that? > > thanks. > > > > -- -------------------------------------------------------------- http://www.tumbletooth.org my linkedin profile : http://www.linkedin.com/in/bayuadji -------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

