Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Update fileuploads.rst #948

Merged
merged 1 commit into from Feb 8, 2014
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -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'])