From e0a8fd3162ebc1fb1c2edadf91325f0b586d7425 Mon Sep 17 00:00:00 2001 From: lord63 Date: Sat, 2 Apr 2016 05:05:11 +0800 Subject: [PATCH] Add two missing converters for flask in the docs All converters are from werkzeug's builtin converters. Documentation: http://werkzeug.pocoo.org/docs/dev/routing/#builtin-converters --- docs/api.rst | 2 ++ docs/quickstart.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/api.rst b/docs/api.rst index 3da975e9..9d9d3b1a 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -751,6 +751,8 @@ The following converters are available: `int` accepts integers `float` like `int` but for floating point values `path` like the default but also accepts slashes +`any` matches one of the items provided +`uuid` accepts UUID strings =========== =============================================== Custom converters can be defined using :attr:`flask.Flask.url_map`. diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 38c14035..bc6f0789 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -204,6 +204,8 @@ The following converters exist: `int` accepts integers `float` like `int` but for floating point values `path` like the default but also accepts slashes +`any` matches one of the items provided +`uuid` accepts UUID strings =========== =============================================== .. admonition:: Unique URLs / Redirection Behavior