On Tue, 2009-12-01 at 20:54 -0800, Skylar Saveland wrote: > Wait, this is a better question than I thought on first glance. Not > entirely sure, sorry for the terse first response. > > Skylar Saveland wrote: > > Former > > > > Continuation wrote: > > > When a ModelForm object calls save(), does it first clean the form > > > data using form.cleaned_data? Or do I need to call form.cleaned_data > > > explicitly?
Saving checks form.errors which (as being property) in turn causes call to form.full_clean() to generate internal error structure. So answer is yes, it cleans data if it hasn't been cleaned before calling save. -- Jani Tiainen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.