Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit/Update View #13

Open
getup8 opened this issue Nov 11, 2015 · 4 comments
Open

Edit/Update View #13

getup8 opened this issue Nov 11, 2015 · 4 comments

Comments

@getup8
Copy link

getup8 commented Nov 11, 2015

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.

@nurzhannogerbek
Copy link

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

@dvl
Copy link

dvl commented Jul 17, 2017

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

@mick88
Copy link

mick88 commented Aug 25, 2020

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

@arminshoughi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants