mirror of https://github.com/pallets/flask.git
Added a missing colon
This commit is contained in:
parent
ac99cd33a8
commit
5ca17c86c0
|
@ -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
|
use the database from a script or the interactive Python shell you would
|
||||||
have to do something like this::
|
have to do something like this::
|
||||||
|
|
||||||
with app.test_request_context()
|
with app.test_request_context():
|
||||||
app.preprocess_request()
|
app.preprocess_request()
|
||||||
# now you can use the g.db object
|
# now you can use the g.db object
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue