Browse Source

Fixed typos in copy/pasted text

pull/330/head
Armin Ronacher 13 years ago
parent
commit
142c9c391b
  1. 4
      docs/api.rst

4
docs/api.rst

@ -490,14 +490,14 @@ Generally there are three ways to define rules for the routing system:
3. You can directly access the underlying Werkzeug routing system 3. You can directly access the underlying Werkzeug routing system
which is exposed as :attr:`flask.Flask.url_map`. which is exposed as :attr:`flask.Flask.url_map`.
Variables parts in the route can be specified with angular brackets Variable parts in the route can be specified with angular brackets
(``/user/<username>``). By default a variable part in the URL accepts any (``/user/<username>``). By default a variable part in the URL accepts any
string without a slash however a different converter can be specified as string without a slash however a different converter can be specified as
well by using ``<converter:name>``. well by using ``<converter:name>``.
Variable parts are passed to the view function as keyword arguments. Variable parts are passed to the view function as keyword arguments.
The following converters are possible available: The following converters are available:
=========== =============================================== =========== ===============================================
`unicode` accepts any text without a slash (the default) `unicode` accepts any text without a slash (the default)

Loading…
Cancel
Save