Skip to content
Myr

Fix typo in example.

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

authored by Nickatak · committed by Nickatak · parent c3a9978 · 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