|
|
@ -316,13 +316,7 @@ Useful Functions and Classes |
|
|
|
|
|
|
|
|
|
|
|
.. autofunction:: url_for |
|
|
|
.. autofunction:: url_for |
|
|
|
|
|
|
|
|
|
|
|
.. function:: abort(code) |
|
|
|
.. autofunction:: abort |
|
|
|
|
|
|
|
|
|
|
|
Raises an :exc:`~werkzeug.exceptions.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 |
|
|
|
.. autofunction:: redirect |
|
|
|
|
|
|
|
|
|
|
|