In my model:

=========================
image = models.ImageField(upload_to='pics',
validator_list=[validators.isValidImage], blank=True)
=========================

I am able to upload an image once using an appropriate form:

=========================
<label for="id_image">Image: </label>{{form.image}}{{form.image_file}}
=========================

But the second time I try to upload an image I get the error:

=========================
{'image': ['No file was submitted. Check the encoding type on the
form.']}
=========================

When I remove the validation (in the model) everything works fine
again...


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

Reply via email to