From 133920c83bf78db17631b637b8b2ffabcb26f3d4 Mon Sep 17 00:00:00 2001 From: Marian Sigler Date: Tue, 25 May 2010 01:58:10 +0800 Subject: [PATCH 1/2] Fix typo in docs. --- docs/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index 6b4f955a..31c40023 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -41,7 +41,7 @@ an installation but a clever way to keep things separated. So let's see how that works! If you are on OS X or Linux chances are that one of the following two -commands will for for you:: +commands will work for you:: $ sudo easy_install virtualenv From 7829e6ec98f9c84159dcb2aa9fb210b88d97dd33 Mon Sep 17 00:00:00 2001 From: Marian Sigler Date: Tue, 25 May 2010 05:07:09 +0800 Subject: [PATCH 2/2] quickstart docs: Use a real value for secret_key to better illustrate how a secret key should look. --- docs/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index f0fbeb64..cb887251 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -654,7 +654,7 @@ sessions work:: session.pop('username', None) # set the secret key. keep this really secret: - app.secret_key = 'the secret key' + app.secret_key = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT' The here mentioned :func:`~flask.escape` does escaping for you if you are not using the template engine (like in this example).