Skip to content

Commit

Permalink
Fix import of ProxyFix for Werkzeug 1.0.0 (#247)
Browse files Browse the repository at this point in the history
* Fix import of ProxyFix for werkzeug 1.0.x

Fix import of ProxyFix for werkzeug 1.0.x

* Require Werkzeug>=0.15.0 for werkzeug.middleware.proxy_fix

Require Werkzeug>=0.15.0 for werkzeug.middleware.proxy_fix
  • Loading branch information
embeddedc authored Feb 28, 2020
1 parent 0754245 commit 9f49b44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion klaus/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
except ImportError:
chardet = None

from werkzeug.contrib.fixers import ProxyFix as WerkzeugProxyFix
from werkzeug.middleware.proxy_fix import ProxyFix as WerkzeugProxyFix
from humanize import naturaltime


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def install_data_files_hack():

install_data_files_hack()

requires = ['six', 'flask', 'pygments', 'dulwich>=0.19.3', 'httpauth', 'humanize']
requires = ['six', 'flask', 'Werkzeug>=0.15.0', 'pygments', 'dulwich>=0.19.3', 'httpauth', 'humanize']

setup(
name='klaus',
Expand Down

0 comments on commit 9f49b44

Please sign in to comment.