forked from orbit-oss/flask
Fixed a typo that was preventing second code block from appearing in a code block
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
This commit is contained in:
parent
709ecefee1
commit
0e4cd2e651
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ db connection in the interactive debugger::
|
|||
return response
|
||||
|
||||
If you want to guarantee that the connection is always closed in debug mode, you
|
||||
can close it in a function decorated with :meth:`~flask.Flask.teardown_request`:
|
||||
can close it in a function decorated with :meth:`~flask.Flask.teardown_request`::
|
||||
|
||||
@app.before_request
|
||||
def before_request():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue