Skip to content
Myr

Merge pull request #649 from erikrose/doc-typos

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix a typo in the deferred-callbacks docs.

authored by Armin Ronacher · committed by Armin Ronacher · parents dfdbc00, a319516 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/deferredcallbacks.rst+1 added-1 removed
17 unmodified lines
18instead. Sometimes however moving that code there is just not a very19pleasant experience or makes code look very awkward.2021As an alternative possibility you can attach a bunch of callback functions22to the :data:`~flask.g` object and call then at the end of the request.22to the :data:`~flask.g` object and call them at the end of the request.23This way you can defer code execution from anywhere in the application.242526The Decorator
47 unmodified lines