update patterns, snippets, extensions docs

This commit is contained in:
David Lord 2019-09-23 08:19:40 -07:00
parent 9ed8ac2c19
commit 4504c6d7b8
9 changed files with 71 additions and 71 deletions

View file

@ -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, {