On Jul 5, 8:17 am, Constantine <theasp...@gmail.com> wrote: > def view(request) > form = MyForm(request.POST, instance = MyModel(myfiled = 1)) > if form.is_valid(): > obj = form.save() > > but POST will NEVER merged with instance i've looked through stack: (snip) > in doesn't populate instance with cleaned data >
Err... Actually, yes it does: https://code.djangoproject.com/browser/django/trunk/django/forms/models.py#L305 -- 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.