From 4a6f932610b3e3b7858017ab1cc4c20bd99ee008 Mon Sep 17 00:00:00 2001 From: lord63 Date: Sun, 11 May 2014 14:08:35 +0800 Subject: [PATCH 1/2] fix a small mistake in setup.rst --- docs/tutorial/setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/setup.rst b/docs/tutorial/setup.rst index 0b76e105..41c22e6e 100644 --- a/docs/tutorial/setup.rst +++ b/docs/tutorial/setup.rst @@ -66,7 +66,7 @@ if no such environment key is set. In addition to that you can use the :meth:`~flask.Config.from_object` method on the config object and provide it with an import name of a -module. Flask will the initialize the variable from that module. Note +module. Flask will then initialize the variable from that module. Note that in all cases only variable names that are uppercase are considered. The ``SECRET_KEY`` is needed to keep the client-side sessions secure. From 2b8a281c1c73aa31ea81fc4e77c26d741bda87a6 Mon Sep 17 00:00:00 2001 From: lord63 Date: Mon, 12 May 2014 16:01:53 +0800 Subject: [PATCH 2/2] fix a small mistake in setup.rst --- docs/tutorial/setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/setup.rst b/docs/tutorial/setup.rst index 41c22e6e..1fe4ea59 100644 --- a/docs/tutorial/setup.rst +++ b/docs/tutorial/setup.rst @@ -4,7 +4,7 @@ Step 2: Application Setup Code ============================== Now that we have the schema in place we can create the application module. -Let's call it flaskr.py. We will place this file inside the flask folder. +Let's call it flaskr.py. We will place this file inside the flaskr folder. We will begin by adding the imports we need and by adding the config section. For small applications, it is possible to drop the configuration directly into the module, and this is what we will be doing here. However