django-dataforms/django-dataforms — Issue #8: Image uploads processing - PIL problems
Author: polu
Created: 2012-02-28 21:52:34+00:00
State: open

Once uploaded images do not validate if the form is submitted without changing them. PIL throws IOError (truncated file).

Changing file's opening mode should help:

https://github.com/django-dataforms/django-dataforms/blob/master/dataforms/forms.py#L565 - there is 'r' mode, 'rb' should be used probably.