Use abort docs from Werkzeug

Fix #1960
This commit is contained in:
Markus Unterwaditzer 2016-09-18 15:47:52 +02:00
parent 09fec941f4
commit dcfdfc6476

View file

@ -316,13 +316,7 @@ Useful Functions and Classes
.. autofunction:: url_for
.. function:: abort(code)
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:: abort
.. autofunction:: redirect