Browse Source

Touch up (tiny) doc as requested by emiel, #244.

pull/249/head
Ron DuPlain 13 years ago
parent
commit
65f9bc7b22
  1. 2
      docs/patterns/appfactories.rst

2
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

Loading…
Cancel
Save