forked from orbit-oss/flask
Touch up (tiny) doc as requested by emiel, #244.
This commit is contained in:
parent
87234fb2f8
commit
65f9bc7b22
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue