From d63fb818c14ea6acb36942cd66f5ed00dfa3682b Mon Sep 17 00:00:00 2001 From: Bastian Hoyer Date: Wed, 6 Jul 2011 16:07:05 +0200 Subject: [PATCH] small error in tutorial --- docs/tutorial/dbcon.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/dbcon.rst b/docs/tutorial/dbcon.rst index 1d9d41f9..8f9e4595 100644 --- a/docs/tutorial/dbcon.rst +++ b/docs/tutorial/dbcon.rst @@ -22,7 +22,7 @@ decorators:: Functions marked with :meth:`~flask.Flask.before_request` are called before 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 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