Shawn - The validation appears to actually takes place *before* the
__init__ is called (during instantiation, not during initialization.)
If you look at BaseForm, scroll past the __init__() method, and you'll
see:

    def _get_errors(self):
        "Returns an ErrorDict for the data provided for the form"
        if self._errors is None:
            self.full_clean()
        return self._errors
    errors = property(_get_errors)

That last line calls _get_errors() which in turn calls full_clean().
(I could totally be missing something)

Rick



On Apr 14, 12:07 pm, Shawn Milochik <sh...@milochik.com> wrote:
> No data validation takes place any time during __init__, so it's not too late.

-- 
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.

Reply via email to