Skip to content
Myr

Reword 0.9 upgrade doc, thanks to plaes on #pocoo.

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 b885edf · Browse files · 1 file+6 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+6 added−5 removed

  • other:+6 added−5 removed

1 file+6 added−5 removed

modified:docs/upgrading.rst+6 added-5 removed
32 unmodified lines
33 if isinstance(rv, tuple):34 return self.response_class(*rv)35 return Flask.make_response(self, rv)3637If you have an extension that was using :data:`~flask._request_ctx_stack`38before, please consider changing to :data:`~flask._app_ctx_stack` if it39makes sense for your extension. This will for example be the case for40extensions that connect to databases. This will allow your users to41easier use your extension with more complex use cases outside of requests.37If you maintain an extension that was using :data:`~flask._request_ctx_stack`38before, please consider changing to :data:`~flask._app_ctx_stack` if it makes39sense for your extension. For instance, the app context stack makes sense for40extensions which connect to databases. Using the app context stack instead of41the request stack will make extensions more readily handle use cases outside of42requests.4344Version 0.845-----------46
300 unmodified lines