Browse Source

Add endpoint parameter documentation to the route decorator.

pull/307/head
Pedro Algarvio 14 years ago
parent
commit
04e87a93de
  1. 3
      flask/app.py

3
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.
"""

Loading…
Cancel
Save