-
-
Save Internet-viewer/e51d7fde4002c497386f1d3445ab74c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <title>Python Flask Multiple Files Upload Example</title> | |
| <h2>Select file to upload</h2> | |
| <p> | |
| {% with messages = get_flashed_messages() %} | |
| {% if messages %} | |
| <ul class=flashes> | |
| {% for message in messages %} | |
| <li>{{ message }}</li> | |
| {% endfor %} | |
| </ul> | |
| {% endif %} | |
| {% endwith %} | |
| </p> | |
| <form method="post" action="/" enctype="multipart/form-data"> | |
| <dl> | |
| <p> | |
| <input type="file" name="file" autocomplete="off" required> | |
| </p> | |
| </dl> | |
| <p> | |
| <input type="submit" value="Submit"> | |
| </p> | |
| </form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment