i have found it. just use form.error.
On Mar 28, 5:18 pm, ihome <ihomest...@gmail.com> wrote:
> Hi,
>
> My form always gets is_valid() as False. Some validation is wrong.
>
> Is there any error message I could dump from form or form.cleaned_data
> to understand why is_valid() is always false?
>
> thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---