changeset 46fda09dfdb0 in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=46fda09dfdb0
description:
        Use new path to import ProxyFix

        The contrib path has been removed in Werkzeug 1.0.0
diffstat:

 app.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9579c819ee3f -r 46fda09dfdb0 app.py
--- a/app.py    Mon Feb 17 21:26:58 2020 +0100
+++ b/app.py    Wed Feb 26 09:24:58 2020 +0100
@@ -29,7 +29,7 @@
 from icalendar import Calendar
 from jinja2 import TemplateNotFound
 from lxml import objectify, html
-from werkzeug.contrib.fixers import ProxyFix
+from werkzeug.middleware.proxy_fix import ProxyFix
 
 NEWS_URL = 'https://discuss.tryton.org/c/news'
 NEWS_RSS_URL = NEWS_URL + '.rss'

Reply via email to