Fix pgAdmin4 failed to start issue after upgrading to version 4.15. Fixes #4978

This commit is contained in:
Aditya Toshniwal 2019-12-02 11:40:48 +05:30 committed by Akshay Joshi
parent d98e86d3df
commit c4facc04d3
2 changed files with 2 additions and 0 deletions

View File

@ -38,3 +38,4 @@ Bug fixes
| `Issue #4935 <https://redmine.postgresql.org/issues/4935>`_ - Fix accessibility issues.
| `Issue #4964 <https://redmine.postgresql.org/issues/4964>`_ - Fix an issue where length and precision are not removed from table/column dialog.
| `Issue #4965 <https://redmine.postgresql.org/issues/4965>`_ - Fix an issue where the Interval data type is not displayed in the properties dialog of table/column.
| `Issue #4978 <https://redmine.postgresql.org/issues/4978>`_ - Fix pgAdmin4 failed to start issue after upgrading to version 4.15.

View File

@ -69,6 +69,7 @@ if not os.path.isfile(config.SQLITE_PATH):
##########################################################################
class ReverseProxied(object):
def __init__(self, app):
self.app = app
# https://werkzeug.palletsprojects.com/en/0.15.x/middleware/proxy_fix/#module-werkzeug.middleware.proxy_fix
try:
from werkzeug.middleware.proxy_fix import ProxyFix