Merge pull request #1461 from justinwp/patch-1

fixed import of werkzeug secure_filename
This commit is contained in:
Markus Unterwaditzer 2015-05-15 10:24:24 +02:00
commit 1e15e17a66

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():