> Running the test causes a splash of barf that says:
>
> AttributeError: 'TheFormClass' object has no attribute 'cleaned_data'
>

Try calling form.is_valid() (which should in addition return whether  
the validation framework as a whole thought the form was valid). This  
should invoke your clean_ method.

Cheers,
Dan

--
Dan Fairs <[EMAIL PROTECTED]> | http://www.fezconsulting.com/


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to