Jinja Template for file upload

Report a typo

Given the following code, write the Jinja template to render a form to support file upload.

from flask_wtf import FlaskForm
from flask_wtf.file import FileField

class FileUploadForm(FlaskForm):
    file = FileField()
Write a program in Python 3
template = """
<form method=? enctype=?>
... Insert your code here ...
<input type="submit"/>
</form>

"""
___

Create a free account to access the full topic