Browse Source

Merge pull request #1461 from justinwp/patch-1

fixed import of werkzeug secure_filename
pull/2039/head
Markus Unterwaditzer 10 years ago
parent
commit
1e15e17a66
  1. 2
      docs/quickstart.rst

2
docs/quickstart.rst

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

Loading…
Cancel
Save