Heavily improved documentation
This commit is contained in:
parent
4e1b3e1134
commit
05f36c7f7e
10 changed files with 486 additions and 44 deletions
|
|
@ -163,7 +163,13 @@ Useful Functions and Classes
|
|||
|
||||
.. autofunction:: url_for
|
||||
|
||||
.. autofunction:: abort
|
||||
.. function:: abort(code)
|
||||
|
||||
Raises an :exc:`~werkzeug.exception.HTTPException` for the given
|
||||
status code. For example to abort request handling with a page not
|
||||
found exception, you would call ``abort(404)``.
|
||||
|
||||
:param code: the HTTP error code.
|
||||
|
||||
.. autofunction:: redirect
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue