On 20.4.2011 11:36, Daniel Gerzo wrote:

Is there a way to access request.FILES from form.clean() method? I'd
like to detect the invalid files within the form validation, so that I
can render the errors should there be some.

I guess I have solved it by accessing self.files.values() in the form's clean() method.

--
Kind regards
  Daniel Gerzo

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