Merge branch '1.1.x'
This commit is contained in:
commit
40eadfc52a
10 changed files with 72 additions and 72 deletions
|
|
@ -121,7 +121,7 @@ Alternatively you can register `uploaded_file` as `build_only` rule and
|
|||
use the :class:`~werkzeug.wsgi.SharedDataMiddleware`. This also works with
|
||||
older versions of Flask::
|
||||
|
||||
from werkzeug import SharedDataMiddleware
|
||||
from werkzeug.middleware.shared_data import SharedDataMiddleware
|
||||
app.add_url_rule('/uploads/<filename>', 'uploaded_file',
|
||||
build_only=True)
|
||||
app.wsgi_app = SharedDataMiddleware(app.wsgi_app, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue