3 ms·
Why would it be good to avoid passing around the request object?
by jimmybot 15y ago
Why would it be good to avoid passing around the request object?
- espeed 15y agoArmin explains the request object here (http://flask.pocoo.org/docs/reqcontext/ http://flask.pocoo.org/docs/reqcontext/) and here (http://flask.pocoo.org/docs/quickstart/#id4 http://flask.pocoo.org/docs/quickstart/#id4), and the concept of "context locals" in detail here (http://werkzeug.pocoo.org/docs/local/ http://werkzeug.pocoo.org/docs/local/).