Chive / django-multiupload

Dead simple drop-in multi file upload field for Django forms using HTML5's multiple attribute.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edit/Update View

getup8 opened this issue · comments

Anyway you could add an UpdateView to one of your examples as well? The main issue I'm having is initializing the file upload widget with values so that when you go to edit an entity, you can see it already has attached files.

@getup8 Do you solve this problem? I have the same problem in my edit form. There is no data in image field when I open my edit form.

This is not possible, browsers don't allow you to have a default value for file fields.

@dvl Django works around it by showing link to uploaded file under the input.

@dvl Django works around it by showing link to uploaded file under the input.

yes, I agree.i need it too. i'll add it soon.