mirror of https://github.com/pallets/flask.git
Merge pull request #1064 from kekumu/patch-adv-foreword
Ambiguity in Advanced Foreword
This commit is contained in:
commit
1eede1de1f
|
@ -8,7 +8,7 @@ Thread-Locals in Flask
|
|||
|
||||
One of the design decisions in Flask was that simple tasks should be simple;
|
||||
they should not take a lot of code and yet they should not limit you. Because
|
||||
of that, Flask has few design choices that some people might find surprising or
|
||||
of that, Flask has a few design choices that some people might find surprising or
|
||||
unorthodox. For example, Flask uses thread-local objects internally so that you
|
||||
don’t have to pass objects around from function to function within a request in
|
||||
order to stay threadsafe. This approach is convenient, but requires a valid
|
||||
|
|
Loading…
Reference in New Issue