Browse Source

Merge pull request #649 from erikrose/doc-typos

Fix a typo in the deferred-callbacks docs.
pull/643/merge
Armin Ronacher 12 years ago
parent
commit
e101655820
  1. 2
      docs/patterns/deferredcallbacks.rst

2
docs/patterns/deferredcallbacks.rst

@ -19,7 +19,7 @@ instead. Sometimes however moving that code there is just not a very
pleasant experience or makes code look very awkward. pleasant experience or makes code look very awkward.
As an alternative possibility you can attach a bunch of callback functions As an alternative possibility you can attach a bunch of callback functions
to the :data:`~flask.g` object and call then at the end of the request. to the :data:`~flask.g` object and call them at the end of the request.
This way you can defer code execution from anywhere in the application. This way you can defer code execution from anywhere in the application.

Loading…
Cancel
Save