def validate(self):
    """Validate the form."""
initial_validation = super(UploadForm, self).validate()
if not initial_validation:
    return False
File not uploading with Flask-wtforms in cookiecutter-flask app