index.rst
This file
Path
docs/patterns/index.rst
40 lines · 961 bytes
Last changed by
Merge branch '2.2.x'David Lordbefore adoption87584e8
History of this fileTake it
The walk stopped after 200 commits: lines older than 694eb84 point at it.
reword changelog for importlib.resourcesDavid Lordbefore adoption694eb84
lines 1–29why, one step back1Patterns for Flask2==================34Certain features and interactions are common enough that you will find5them in most web applications. For example, many applications use a6relational database and user authentication. They will open a database7connection at the beginning of the request and get the information for8the logged in user. At the end of the request, the database connection9is closed.1011These types of patterns may be a bit outside the scope of Flask itself,12but Flask makes it easy to implement them. Some common patterns are13collected in the following pages.1415.. toctree::16 :maxdepth: 21718 packages19 appfactories20 appdispatch21 urlprocessors22 sqlite323 sqlalchemy24 fileuploads25 caching26 viewdecorators27 wtforms28 templateinheritance29 flashingMerge branch '2.1.x'David Lordbefore adoptiondcd1a1e
line 30why, one step back30 javascriptreword changelog for importlib.resourcesDavid Lordbefore adoption694eb84
lines 31–40why, one step back31 lazyloading32 mongoengine33 favicon34 streaming35 deferredcallbacks36 methodoverrides37 requestchecksum38 celery39 subclassing40 singlepageapplications