Skip to content
Myr

Merge pull request #1448 from fordhurley/custom_converters

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

Mention that custom converters can be defined for url routes

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 73d89cc, d398780 · 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