On Sat, Sep 6, 2008 at 8:40 AM, Denis Frère <[EMAIL PROTECTED]> wrote: > Why LinkForm(request.POST, instance=link) doesn't behaves like > link.update(request.POST) ? > Is it a will or an "omission" ?
it doesn't behave that way because it'd make no sense to behave that way; if there's a field in a form and it gets no data, then the form has _no data_ for that field. Not "keep the existing data", not "make a guess about what this means", just "I have no data for this field". And the only thing to do with no data is to blank the field. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers?hl=en -~----------~----~----~----~------~----~------~--~---