Skip to content
Myr

Fix reqcontext ref in signals doc.

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

authored by Ron DuPlain · committed by Ron DuPlain · parent 492ef06 · Browse files · 1 file+5 added−5 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+5 added−5 removed

  • other:+5 added−5 removed

1 file+5 added−5 removed

modified:docs/signals.rst+5 added-5 removed
160 unmodified lines
161162Signals and Flask's Request Context163-----------------------------------164165Signals fully support :ref:`reqcontext` when receiving signals. Context-local166variables are consistently available between :data:`~flask.request_started` and167:data:`~flask.request_finished`, so you can rely on :class:`flask.g` and others168as needed. Note the limitations described in :ref:`signals-sending` and the169:data:`~flask.request_tearing_down` signal.165Signals fully support :ref:`request-context` when receiving signals.166Context-local variables are consistently available between167:data:`~flask.request_started` and :data:`~flask.request_finished`, so you can168rely on :class:`flask.g` and others as needed. Note the limitations described169in :ref:`signals-sending` and the :data:`~flask.request_tearing_down` signal.170171172Decorator Based Signal Subscriptions173------------------------------------
98 unmodified lines