File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,12 @@ the old behavior, you can add it easily by subclassing Flask::
34
34
return self.response_class(*rv)
35
35
return Flask.make_response(self, rv)
36
36
37
- If you have an extension that was using :data: `~flask._request_ctx_stack `
38
- before, please consider changing to :data: `~flask._app_ctx_stack ` if it
39
- makes sense for your extension. This will for example be the case for
40
- extensions that connect to databases. This will allow your users to
41
- easier use your extension with more complex use cases outside of requests.
37
+ If you maintain an extension that was using :data: `~flask._request_ctx_stack `
38
+ before, please consider changing to :data: `~flask._app_ctx_stack ` if it makes
39
+ sense for your extension. For instance, the app context stack makes sense for
40
+ extensions which connect to databases. Using the app context stack instead of
41
+ the request stack will make extensions more readily handle use cases outside of
42
+ requests.
42
43
43
44
Version 0.8
44
45
-----------
You can’t perform that action at this time.
0 commit comments