forked from orbit-oss/flask
Add endpoint parameter documentation to the route decorator.
This commit is contained in:
parent
68ec5a3068
commit
04e87a93de
1 changed files with 3 additions and 0 deletions
|
|
@ -938,6 +938,9 @@ class Flask(_PackageBoundObject):
|
||||||
subdomain matching is in use.
|
subdomain matching is in use.
|
||||||
:param strict_slashes: can be used to disable the strict slashes
|
:param strict_slashes: can be used to disable the strict slashes
|
||||||
setting for this rule. See above.
|
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
|
:param options: other options to be forwarded to the underlying
|
||||||
:class:`~werkzeug.routing.Rule` object.
|
:class:`~werkzeug.routing.Rule` object.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue