Upgrade Flask, Flask-SQLAlchemy, Flask-WTF, Flask-Babel, Flask-Security-Too, WTForms, Werkzeug and keep backward compatibility with Python 3.7

This commit is contained in:
Aditya Toshniwal
2023-11-03 18:19:01 +05:30
committed by GitHub
parent 5f3965ff0a
commit 96fccd28a9
23 changed files with 73 additions and 163 deletions
-1
View File
@@ -19,7 +19,6 @@ def validate_email(email):
email, check_deliverability=config.CHECK_EMAIL_DELIVERABILITY)
# Update with the normalized form.
email = valid.email
return True
except EmailNotValidError as e:
# email is not valid, exception message is human-readable