Skip to content

Commit

Permalink
Merge pull request #897 from d3spis3d/master
Browse files Browse the repository at this point in the history
URL Reversing in Quickstart Doc #779
  • Loading branch information
mitsuhiko committed Feb 9, 2014
2 parents 23d9b33 + 05dbf52 commit ba36d57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/quickstart.rst
Expand Up @@ -236,8 +236,9 @@ below. It tells Flask to behave as though it is handling a request, even
though we are interacting with it through a Python shell. Have a look at the
explanation below. :ref:`context-locals`).

Why would you want to build URLs instead of hard-coding them into your
templates? There are three good reasons for this:
Why would you want to build URLs using the URL reversing function :func:`~flask.url_for`
instead of hard-coding them into your templates? There are three good reasons
for this:

1. Reversing is often more descriptive than hard-coding the URLs. More
importantly, it allows you to change URLs in one go, without having to
Expand Down

0 comments on commit ba36d57

Please sign in to comment.