4 ms·
> GLOBALS: .. Flask does not have a lot of globals. You are misunderstanding the g, request current_user object types. They are most certainly not globals, they
by mianos 11y ago
> GLOBALS: ..
Flask does not have a lot of globals. You are misunderstanding the g, request current_user object types. They are most certainly not globals, they are session proxy objects. Because we are in python they can be made to look like globals. They are done like this to be convenient. If you use the 'request' one hundred times in a file, some of us don't want to be bothered to put it as a formal parameter to every function.