Skip to content
Myr

Docs typo/markup fixes (#5829)

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

authored by Hynek Schlawack · committed by GitHub · parent adf3636 · Browse files · 2 files+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

2 files+5 added−5 removed

  • other:+5 added−5 removed

2 files+5 added−5 removed

modified:docs/appcontext.rst+2 added-2 removed
139 unmodified lines
140 app = current_app._get_current_object()141 my_signal.send(app)142143144Lifcycle of the Context145-----------------------144Lifecycle of the Context145------------------------146147Flask dispatches a request in multiple stages which can affect the request,148response, and how errors are handled. See :doc:`/lifecycle` for a list of all149the steps, callbacks, and signals during each request. The following are the
37 unmodified lines
modified:docs/design.rst+3 added-3 removed
176 unmodified lines
177etc. Context locals are specific to the worker handling the activity, such as a178thread, process, coroutine, or greenlet.179180The context and proxies help solve two development issues: circular imports, and181passing around global data. :data:`.current_app: can be used to access the181passing around global data. :data:`.current_app` can be used to access the182application object without needing to import the app object directly, avoiding183circular import issues. :data:`.request`, :data:`.session`, and :data`.g` can be184imported to access the current data for the request, rather than needing to183circular import issues. :data:`.request`, :data:`.session`, and :data:`.g` can184be imported to access the current data for the request, rather than needing to185pass them as arguments through every single function in your project.186187188Async/await and ASGI support
41 unmodified lines