Skip to content
Myr

index.rst

This file

Path

docs/patterns/index.rst

40 lines · 961 bytes

Last changed by

Not known.

History of this file

Take it

1Patterns 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   flashing30   javascript31   lazyloading32   mongoengine33   favicon34   streaming35   deferredcallbacks36   methodoverrides37   requestchecksum38   celery39   subclassing40   singlepageapplications