Skip to content
Myr

Add two missing converters for flask in the docs

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

All converters are from werkzeug's builtin converters.

authored by lord63 · committed by David Lord · parent da0ebb9 · Browse files · 2 files+4 added−0 removed
This commit

State

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

Trailers

  • Documentation: http://werkzeug.pocoo.org/docs/dev/routing/#builtin-converters

Diff stats

2 files+4 added−0 removed

  • other:+4 added−0 removed

2 files+4 added−0 removed

modified:docs/api.rst+2 added
749 unmodified lines
750`string` accepts any text without a slash (the default)751`int` accepts integers752`float` like `int` but for floating point values753`path` like the default but also accepts slashes754`any` matches one of the items provided755`uuid` accepts UUID strings756=========== ===============================================757758Custom converters can be defined using :attr:`flask.Flask.url_map`.759
145 unmodified lines
modified:docs/quickstart.rst+2 added
202 unmodified lines
203`string` accepts any text without a slash (the default)204`int` accepts integers205`float` like `int` but for floating point values206`path` like the default but also accepts slashes207`any` matches one of the items provided208`uuid` accepts UUID strings209=========== ===============================================210211.. admonition:: Unique URLs / Redirection Behavior212
682 unmodified lines