On Fri, Jun 27, 2008 at 10:39 AM, omat <[EMAIL PROTECTED]> wrote:
>
> At the instant I initialize my form, the errors dict is filled,
> although the documentation says, the validation happens after form
> instance's is_valid() method is called.
>
> [example snipped]
>
> Is the documention or the behavior wrong?

Neither. As explained in the docs "the form's data will be validated
the first time either you call is_valid() or access errors", see
http://www.djangoproject.com/documentation/newforms/#using-forms-to-validate-data


Arien

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to