Skip to content

Commit

Permalink
Merge pull request #1461 from justinwp/patch-1
Browse files Browse the repository at this point in the history
fixed import of werkzeug secure_filename
  • Loading branch information
untitaker committed May 15, 2015
2 parents 3fe68c2 + 17d7353 commit 1e15e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Expand Up @@ -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():
Expand Down

0 comments on commit 1e15e17

Please sign in to comment.