Merge pull request #649 from erikrose/doc-typos
Fix a typo in the deferred-callbacks docs.
This commit is contained in:
commit
e101655820
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ instead. Sometimes however moving that code there is just not a very
|
|||
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 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.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue