From 87234fb2f8c896bd2df336bdce5ffb3e85112cdc Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 15 Jun 2011 23:31:48 -0700 Subject: [PATCH 1/2] fixed typo --- docs/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index fc5ae0f1..179ff2de 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -11,7 +11,7 @@ you do not, head over to the :ref:`installation` section. A Minimal Application --------------------- -A minimal Flask application looks something like that:: +A minimal Flask application looks something like this:: from flask import Flask app = Flask(__name__) From 65f9bc7b226ed8e65fc48bb26f6f68c2e2844720 Mon Sep 17 00:00:00 2001 From: Ron DuPlain Date: Thu, 16 Jun 2011 10:28:51 -0400 Subject: [PATCH 2/2] Touch up (tiny) doc as requested by emiel, #244. --- docs/patterns/appfactories.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/patterns/appfactories.rst b/docs/patterns/appfactories.rst index 134ffcf4..8222bac5 100644 --- a/docs/patterns/appfactories.rst +++ b/docs/patterns/appfactories.rst @@ -39,7 +39,7 @@ The idea is to set up the application in a function. Like this:: The downside is that you cannot use the application object in the modules at import time. You can however use it from within a request. How do you -get access the application with the config? Use +get access to the application with the config? Use :data:`~flask.current_app`:: from flask import current_app, Module, render_template