Skip to content
Myr

Use abort docs from Werkzeug

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #1960

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent 09fec94 · Browse files · 1 file+1 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−7 removed

  • other:+1 added−7 removed

1 file+1 added−7 removed

modified:docs/api.rst+1 added-7 removed
314 unmodified lines
315.. autofunction:: has_app_context316317.. autofunction:: url_for318319.. function:: abort(code)319.. autofunction:: abort320321 Raises an :exc:`~werkzeug.exceptions.HTTPException` for the given322 status code. For example to abort request handling with a page not323 found exception, you would call ``abort(404)``.324325 :param code: the HTTP error code.326321.. autofunction:: redirect322323.. autofunction:: make_response324
567 unmodified lines