parent
9c3deeee96
commit
0d8c8ba71b
1 changed files with 1 additions and 1 deletions
|
|
@ -2448,7 +2448,7 @@ class Flask(Scaffold):
|
|||
:data:`request` point at the request for the created
|
||||
environment. ::
|
||||
|
||||
with test_request_context(...):
|
||||
with app.test_request_context(...):
|
||||
generate_report()
|
||||
|
||||
When using the shell, it may be easier to push and pop the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue