How can I "keep" the uploaded image on a form validation error? How can I "keep" the uploaded image on a form validation error? django django

How can I "keep" the uploaded image on a form validation error?


This is a browser thing - for security reasons, you can't prepopulate a file input, otherwise it would be easy to trick users into uploading files from their system without their explicit action.