Documented view function options
This commit is contained in:
parent
3b31df81ae
commit
76796c326d
2 changed files with 42 additions and 0 deletions
|
|
@ -678,6 +678,10 @@ class Flask(_PackageBoundObject):
|
|||
|
||||
app.view_functions['index'] = index
|
||||
|
||||
If a view function is provided some defaults can be specified directly
|
||||
on the view function. For more information refer to
|
||||
:ref:`view-func-options`.
|
||||
|
||||
.. versionchanged:: 0.2
|
||||
`view_func` parameter added.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue