Skip to content

Commit

Permalink
Update docs/quickstart.rst
Browse files Browse the repository at this point in the history
Removed incorrect syntax and simplified remaining sentence.
  • Loading branch information
jfinkels committed Oct 5, 2012
1 parent 3b9fe7c commit 639817b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/quickstart.rst
Expand Up @@ -627,9 +627,9 @@ For this also see :ref:`about-responses`.
Redirects and Errors
--------------------

To redirect a user to somewhere else you can use the
:func:`~flask.redirect` function. To abort a request early with an error
code use the :func:`~flask.abort` function. Here an example how this works::
To redirect a user to another endpoint, use the :func:`~flask.redirect`
function; to abort a request early with an error code, use the
:func:`~flask.abort` function::

from flask import abort, redirect, url_for

Expand Down

0 comments on commit 639817b

Please sign in to comment.