From 04e87a93def1593dd886931e0f9e1d4f37f8d243 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Thu, 25 Aug 2011 12:01:41 +0100 Subject: [PATCH] Add endpoint parameter documentation to the route decorator. --- flask/app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flask/app.py b/flask/app.py index 0597ba5b..67314fc8 100644 --- a/flask/app.py +++ b/flask/app.py @@ -938,6 +938,9 @@ class Flask(_PackageBoundObject): subdomain matching is in use. :param strict_slashes: can be used to disable the strict slashes setting for this rule. See above. + :param endpoint: Since version 0.8 you can also pass the enpoint, + it will be used instead of generating the endpoint + from the function name. :param options: other options to be forwarded to the underlying :class:`~werkzeug.routing.Rule` object. """