fixed import of werkzeug secure_filename

This commit is contained in:
Justin Poehnelt 2015-05-14 23:44:49 -07:00
parent 3fe68c221a
commit 17d7353d39

View file

@ -612,7 +612,7 @@ pass it through the :func:`~werkzeug.utils.secure_filename` function that
Werkzeug provides for you::
from flask import request
from werkzeug import secure_filename
from werkzeug.utils import secure_filename
@app.route('/upload', methods=['GET', 'POST'])
def upload_file():