3 ms·
threadlocals = app.context ? Agreed, but that's the beauty of Flask you can just pass around the request context.
by Beefin 6y ago
threadlocals = app.context ?
Agreed, but that's the beauty of Flask you can just pass around the request context.
- ergo14 6y agoflash, g, redirect, render_template, request, session etc. Ideally request would be passed to view callables and would not be global. That is completely incompatible change so we will never see that I guess :(