I have a problem with an update_object generic view and ImageField. The create_object view works great, but update_object doesn't upload the image?! I set the mimetype ;)
here is the snippet from my object_form.html template (both create_object and update_object use the same template): <div class="form-row"> {% if form.picture.errors %} <ul class="errorlist"> {% for error in form.picture.errors %} <li>{{ error }}</li> {% endfor %} </ul> {% endif %} {% if form.picture_file.errors %} <ul class="errorlist"> {% for error in form.picture_file.errors %} <li>{{ error }}</li> {% endfor %} </ul> {% endif %} <label for="id_picture_file">{% trans "Picture" %}:</label> {{ form.picture_file }}{{ form.picture }} </div> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---