diff options
-rw-r--r-- | plugins/werkzeug/README | 5 |
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): |