Skip to content

Commit ece9223

Browse files
committed
update for werkzeug > 1.0
I came across this while working on #42 but it seemed like its own problem, worthy of its own PR. 9 days ago, [werkzeug was updated](https://github.com/pallets/werkzeug/releases/tag/1.0.0) The changelog contains this: > Remove most top-level attributes provided by the werkzeug module in favor of direct imports. For example, instead of import werkzeug; werkzeug.url_quote, do from werkzeug.urls import url_quote. Install version 0.16 first to see deprecation warnings while upgrading. #2, #1640 So I updated the components that import from werkzeug to versions that have the imports fixed.
1 parent a95e0e0 commit ece9223

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

flask/overviewer/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from flask import url_for, current_app, session
22
from flask_sqlalchemy import SQLAlchemy
3-
from werkzeug import secure_filename
3+
from werkzeug.utils import secure_filename
44
import os.path
55
import os
66
import hashlib

flask/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ gunicorn==19.9.0
33
Flask-SQLAlchemy==2.3.2
44
Flask-Migrate==2.4.0
55
GitHub-Flask==3.2.0
6-
Flask-WTF==0.14.2
6+
Flask-WTF==0.14.3
77
unidecode==0.04.1
88
Flask-Markdown==0.3
99
pytoml==0.1.20
1010
Pillow==6.2.0
1111
requests==2.21.0
12-
Flask-Caching==1.0.0
12+
Flask-Caching==1.8.0
1313
psycopg2==2.7.7
1414
Flask-DebugToolbar==0.10.1
1515
Flask-Script==2.0.6

0 commit comments

Comments
 (0)