Permalink
Browse files

Merge pull request #948 from Spittie/patch-1

Update fileuploads.rst
  • Loading branch information...
2 parents 6075797 + de3dbd3 commit 1f638d63ffcd0a52db6ac9be2d9c4d9fc99864da @mitsuhiko mitsuhiko committed Feb 8, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/patterns/fileuploads.rst
@@ -22,7 +22,7 @@ bootstrapping code for our application::
import os
from flask import Flask, request, redirect, url_for
- from werkzeug import secure_filename
+ from werkzeug.utils import secure_filename
UPLOAD_FOLDER = '/path/to/the/uploads'
ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])

0 comments on commit 1f638d6

Please sign in to comment.