Browse Source

Merge pull request #271 from dafire/master

small error in tutorial
pull/272/head
Armin Ronacher 14 years ago
parent
commit
20371b8657
  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