mirror of https://github.com/mitsuhiko/flask.git
Browse Source
IMO, you would normally interpret "creating and closing database connections all the time" as "creating and closing database connection on each request" as opposed to keeping persistent database connection for a lifetime of an application. However, the documentation is either misleading or "creating and closing database connection on each query" was implied. This, and the term "**application** context" itself makes it look like data placed into flask.g will be available for the following requests, which is not true at all. Let's make the documentation more explicit on this.pull/2493/head
Dmitry Marakasov
7 years ago
committed by
GitHub
1 changed files with 5 additions and 5 deletions
Loading…
Reference in new issue