Documented view function options

This commit is contained in:
Armin Ronacher 2011-07-14 14:25:14 +02:00
parent 3b31df81ae
commit 76796c326d
2 changed files with 42 additions and 0 deletions

View file

@ -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.