Skip to content
Myr

Mention that custom converters can be defined for url routes

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ford Hurley · committed by Ford Hurley · parent 73d89cc · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:docs/api.rst+2 added
641 unmodified lines
642`float` like `int` but for floating point values643`path` like the default but also accepts slashes644=========== ===============================================645646Custom converters can be defined using :attr:`flask.Flask.url_map`.647648Here are some examples::649650 @app.route('/')651 def index():
141 unmodified lines