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

@ -62,12 +62,12 @@ dispatched based on prefix.
For example you could have your main application run on ``/`` and your
backend interface on ``/backend``::
from werkzeug.wsgi import DispatcherMiddleware
from werkzeug.middleware.dispatcher import DispatcherMiddleware
from frontend_app import application as frontend
from backend_app import application as backend
application = DispatcherMiddleware(frontend, {
'/backend': backend
'/backend': backend
})