Heavily improved documentation

This commit is contained in:
Armin Ronacher 2010-04-11 02:20:10 +02:00
parent 4e1b3e1134
commit 05f36c7f7e
10 changed files with 486 additions and 44 deletions

View file

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