mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user