Browse Source

small error in tutorial

pull/271/head
Bastian Hoyer 14 years ago
parent
commit
d63fb818c1
  1. 2
      docs/tutorial/dbcon.rst

2
docs/tutorial/dbcon.rst

@ -22,7 +22,7 @@ decorators::
Functions marked with :meth:`~flask.Flask.before_request` are called before Functions marked with :meth:`~flask.Flask.before_request` are called before
a request and passed no arguments. Functions marked with a request and passed no arguments. Functions marked with
:meth:`~flask.Flask.teardown_request` are called after a request and :meth:`~flask.Flask.after_request` are called after a request and
passed the response that will be sent to the client. They have to return passed the response that will be sent to the client. They have to return
that response object or a different one. They are however not guaranteed that response object or a different one. They are however not guaranteed
to be executed if an exception is raised, this is where functions marked with to be executed if an exception is raised, this is where functions marked with

Loading…
Cancel
Save