Browse Source

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>
pull/228/merge
Kanak Kshetri 14 years ago committed by Armin Ronacher
parent
commit
0e4cd2e651
  1. 2
      docs/tutorial/dbcon.rst

2
docs/tutorial/dbcon.rst

@ -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…
Cancel
Save