wtforms not uploading image file #436
-
I have been struggling with uploading an image on a flask form in my application. I have simplified the code to just show if the form has picked up a file by a print statement. The script is as follows:
HTML form goes a follows:
When I run the above I get the print statements: 'form submitted' and 'no image' Many thanks for your help in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
miguelgrinberg
Sep 21, 2021
Replies: 1 comment 1 reply
-
This is a discussion board for Flask-Migrate. Consider using Stack Overflow to get answer to your questions. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kimzwegz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a discussion board for Flask-Migrate. Consider using Stack Overflow to get answer to your questions.