From 05dbf52fa586ccd86a7d774e918faa5e9ae414a5 Mon Sep 17 00:00:00 2001 From: d3spis3d Date: Wed, 30 Oct 2013 11:29:18 +1100 Subject: [PATCH] URL Reversing in Quickstart #779 Updated quickstart to make clear that URL reversing refers to the use of url_for() to build the URL. Issue #779 --- docs/quickstart.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 3cb9b2f765..a10149ae08 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -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