Skip to content
Myr

Merge pull request #2596 from Nickatak/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix for docs issue #2595

authored by David Lord · committed by GitHub · parents c3a9978, a964671 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/fileuploads.rst+1 added-1 removed
63 unmodified lines
64 return redirect(request.url)65 if file and allowed_file(file.filename):66 filename = secure_filename(file.filename)67 file.save(os.path.join(app.config['UPLOAD_FOLDER'], filename))68 return redirect(url_for('uploaded_file',68 return redirect(url_for('upload_file',69 filename=filename))70 return '''71 <!doctype html>72 <title>Upload new File</title>
112 unmodified lines