From 65465ffece9152526ea1887e0da2b3a4ab4ff892 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Rivera Date: Fri, 16 Jan 2015 03:36:17 -0600 Subject: [PATCH] grammar fixes --- docs/quickstart.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 4e60119b..39957d77 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -18,7 +18,7 @@ A minimal Flask application looks something like this:: @app.route('/') def hello_world(): - return 'Hello World!' + return 'Hello, World!' So what did that code do? @@ -172,7 +172,7 @@ bind a function to a URL. Here are some basic examples:: @app.route('/hello') def hello(): - return 'Hello World' + return 'Hello, World' But there is more to it! You can make certain parts of the URL dynamic and attach multiple rules to a function. @@ -430,7 +430,7 @@ Here is an example template: {% if name %}

Hello {{ name }}!

{% else %} -

Hello World!

+

Hello, World!

{% endif %} Inside templates you also have access to the :class:`~flask.request`,