Mention that custom converters can be defined for url routes
This commit is contained in:
parent
73d89cccec
commit
d398780852
1 changed files with 2 additions and 0 deletions
|
|
@ -643,6 +643,8 @@ The following converters are available:
|
||||||
`path` like the default but also accepts slashes
|
`path` like the default but also accepts slashes
|
||||||
=========== ===============================================
|
=========== ===============================================
|
||||||
|
|
||||||
|
Custom converters can be defined using :attr:`flask.Flask.url_map`.
|
||||||
|
|
||||||
Here are some examples::
|
Here are some examples::
|
||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue