update patterns, snippets, extensions docs

This commit is contained in:
David Lord 2019-09-23 08:19:40 -07:00
parent c074422cfd
commit e01b68e7ee
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
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, {