From 65f9bc7b226ed8e65fc48bb26f6f68c2e2844720 Mon Sep 17 00:00:00 2001 From: Ron DuPlain Date: Thu, 16 Jun 2011 10:28:51 -0400 Subject: [PATCH] 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