1) Replace Flask-BabelEx with Flask-Babel. Fixes #6088

2) Upgrade Flask to version 2. Fixes #7010
This commit is contained in:
Akshay Joshi
2021-11-24 17:22:57 +05:30
parent 3a30f27153
commit d644b4f94e
120 changed files with 211 additions and 199 deletions

View File

@@ -14,7 +14,7 @@ import re
from flask import render_template, request, \
url_for, Response, abort, current_app, session
from flask_babelex import gettext as _
from flask_babel import gettext as _
from flask_security import login_required, roles_required, current_user
from flask_security.utils import encrypt_password
from werkzeug.exceptions import InternalServerError