summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinux <wshmelo@gmail.com>2015-11-04 21:15:58 +0800
committerSinux <wshmelo@gmail.com>2015-11-04 21:15:58 +0800
commit23c3203b8ede19f8e61a10410018e3863ea109c0 (patch)
treea4a0f7ebb3db01e00e6777d50b71566b2647f5b2
parent8542700825b5151fa6604711c80f612adebd793c (diff)
downloadbottle-23c3203b8ede19f8e61a10410018e3863ea109c0.tar.gz
Typo fix on bottle-werkzeug README
-rw-r--r--plugins/werkzeug/README5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/werkzeug/README b/plugins/werkzeug/README
index 2ec3656..5f11552 100644
--- a/plugins/werkzeug/README
+++ b/plugins/werkzeug/README
@@ -40,12 +40,13 @@ module object, so you don't have to import werkzeug in your application. Here
is an example::
import bottle
+ from bottle.ext import werkzeug
app = bottle.Bottle()
- werkzeug = bottle.ext.werkzeug.Plugin()
+ werkzeug = werkzeug.Plugin()
app.install(werkzeug)
- req = werkzueg.request # For the lazy.
+ req = werkzeug.request # For the lazy.
@app.route('/hello/:name')
def say_hello(name):