forked from orbit-oss/flask
Added a missing colon
This commit is contained in:
parent
ac99cd33a8
commit
5ca17c86c0
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ executed the before-request handlers for you. If you are attempting to
|
|||
use the database from a script or the interactive Python shell you would
|
||||
have to do something like this::
|
||||
|
||||
with app.test_request_context()
|
||||
with app.test_request_context():
|
||||
app.preprocess_request()
|
||||
# now you can use the g.db object
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue