Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update docs/quickstart.rst #607

Merged
merged 1 commit into from

2 participants

jfinkels Armin Ronacher
jfinkels

Removed incorrect syntax and simplified remaining sentence.

jfinkels jfinkels Update docs/quickstart.rst
Removed incorrect syntax and simplified remaining sentence.
639817b
Armin Ronacher mitsuhiko merged commit b2fc9fe into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 5, 2012
  1. jfinkels

    Update docs/quickstart.rst

    jfinkels authored
    Removed incorrect syntax and simplified remaining sentence.
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/quickstart.rst
6 docs/quickstart.rst
View
@@ -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
Something went wrong with that request. Please try again.