Skip to content
Myr

Fix deferred callback doc

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

authored by jangjunha · committed by jangjunha · parent 0038a67 · Browse files · 1 file+1 added−0 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−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:docs/patterns/deferredcallbacks.rst+1 added
39 unmodified lines
40 # when the response exists, set a cookie with the language41 @after_this_request42 def remember_language(response):43 response.set_cookie('user_lang', language)44 return response4546 g.language = language