Wednesday, November 27, 2013

Re: Form cleaned_data

Thanks Tom.

On Wed, Nov 27, 2013 at 8:13 AM, Tom Evans <tevans.uk@googlemail.com> wrote:
>
> No, "form" is an instance of your form. Model forms have a method
> called save(), when you call this method, the model form updates an
> instance of the model with the values from the form, saves the
> instance and then returns it to the caller.

Yep, this was the part that I wasn't 'getting'.

Cheers,
Tim

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B%3DOU3Vw_hJxi7pqQ8%3D0-nTP_GKznYKboCrXWfnGguVTcxeuoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment