forked from orbit-oss/flask
Fixed typos in copy/pasted text
This commit is contained in:
parent
df1dd57045
commit
142c9c391b
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue