Skip to content
Myr

Merge pull request #1064 from kekumu/patch-adv-foreword

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Ambiguity in Advanced Foreword

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 39bfb54, 305ccd5 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/advanced_foreword.rst+1 added-1 removed
6 unmodified lines
7----------------------89One of the design decisions in Flask was that simple tasks should be simple;10they should not take a lot of code and yet they should not limit you. Because11of that, Flask has few design choices that some people might find surprising or11of that, Flask has a few design choices that some people might find surprising or12unorthodox. For example, Flask uses thread-local objects internally so that you13don’t have to pass objects around from function to function within a request in14order to stay threadsafe. This approach is convenient, but requires a valid15request context for dependency injection or when attempting to reuse code which
54 unmodified lines