Hi djangoers,

I have a problem where I'm running some form tests, the form validation is
failing, and I'm not sure why it's failing and I can't figure out how to
print the errors.

I preload the data into the form and when I validate it returns False.

>>> form.is_valid()
False

If I print the form and look at the HTML code everything looks fine as it
would on the front end

>>> print form

But if I try

>>> print form.errors

I get nothing.

I also tried all individual files with

>>> print form['is_recur'].errors

and I still get nothing.

There are no custom validation functions in this form, so I really don't
knoyw why it wouldn't validate.

Any help will be greatly appreciated.

Thanks!

-m

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