pleasant experience or makes code look very awkward.
As an alternative possibility you can attach a bunch of callback functions
-to the :data:`~flask.g` object and call the
n at the end of the request.
+to the :data:`~flask.g` object and call the at the end of the request.
This way you can defer code execution from anywhere in the application.