mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Import from flask_babel instead of the deprecated flask.ext.babel. Fixes #2264
This commit is contained in:
parent
4464be6f43
commit
648c332488
@ -11,8 +11,7 @@
|
||||
|
||||
from flask import render_template, Response
|
||||
from flask import url_for
|
||||
from flask.ext.babel import get_translations
|
||||
from flask_babel import gettext
|
||||
from flask_babel import get_translations, gettext
|
||||
|
||||
from pgadmin.utils import PgAdminModule
|
||||
from pgadmin.utils.ajax import bad_request
|
||||
|
Loading…
Reference in New Issue
Block a user