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

View File

@@ -10,7 +10,8 @@
"""A blueprint module providing utility functions for the application."""
from pgadmin.utils import driver
from flask import url_for, render_template, Response, request, current_app
from flask import render_template, Response, request, current_app
from flask.helpers import url_for
from flask_babel import gettext
from flask_security import login_required
from pgadmin.utils import PgAdminModule, replace_binary_path, \
@@ -36,10 +37,6 @@ MODULE_NAME = 'misc'
class MiscModule(PgAdminModule):
LABEL = gettext('Miscellaneous')
def get_own_stylesheets(self):
stylesheets = []
return stylesheets
def register_preferences(self):
"""
Register preferences for this module.