summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLeway Colin <colin4124@gmail.com>2014-05-10 00:48:31 +0000
committerLeway Colin <colin4124@gmail.com>2014-05-10 00:48:31 +0000
commit21a2d4af266230d59c585722fe8de383f316595d (patch)
treea4a79f4290a740fb2b1458ad2e64f8d953e4fd0a /docs
parentf1d668b4c5a2657fa4786fe170d24829f511cad9 (diff)
downloadbottle-21a2d4af266230d59c585722fe8de383f316595d.tar.gz
typo tutorial.rst
add a note to novice
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/tutorial.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial.rst b/docs/tutorial.rst
index 44c6e2d..3b1dd2e 100755
--- a/docs/tutorial.rst
+++ b/docs/tutorial.rst
@@ -119,7 +119,7 @@ In the last chapter we built a very simple web application with only a single ro
def hello():
return "Hello World!"
-The :func:`route` decorator links an URL path to a callback function, and adds a new route to the :ref:`default application <tutorial-default>`. An application with just one route is kind of boring, though. Let's add some more::
+The :func:`route` decorator links an URL path to a callback function, and adds a new route to the :ref:`default application <tutorial-default>`. An application with just one route is kind of boring, though. Let's add some more (don't forget ``from bottle imoport template``)::
@route('/')
@route('/hello/<name>')