from flask_wtf import FlaskForm
from flask_wtf.file import FileField, FileAllowed, FileRequired


class UploadForm(FlaskForm):
    pic = FileField('Upload Image', validators=[FileRequired(), FileAllowed
        (['jpg', 'png'], 'Images only!')])

ec196a628b75ce3d517947f339d86ee9db73b33a
<mask token>

<mask token>


class UploadForm(FlaskForm):
    <mask token>

<mask token>


class UploadForm(FlaskForm):
    pic = FileField('Upload Image', validators=[FileRequired(), FileAllowed
        (['jpg', 'png'], 'Images only!')])

from flask_wtf import FlaskForm
from flask_wtf.file import FileField, FileAllowed, FileRequired


class UploadForm(FlaskForm):
    pic = FileField('Upload Image', validators=[FileRequired(), FileAllowed
        (['jpg', 'png'], 'Images only!')])
