index.rst
This file
Path
docs/patterns/index.rst
40 lines · 946 bytes
Last changed by
Added HTTP override middleware to docs. This fixes #582Armin Ronacherbefore adoption18413ed
History of this fileTake it
1.. _patterns:23Patterns for Flask4==================56Certain things are common enough that the chances are high you will find7them in most web applications. For example quite a lot of applications8are using relational databases and user authentication. In that case,9chances are they will open a database connection at the beginning of the10request and get the information of the currently logged in user. At the11end of the request, the database connection is closed again.1213There are more user contributed snippets and patterns in the `Flask14Snippet Archives <http://flask.pocoo.org/snippets/>`_.1516.. toctree::17 :maxdepth: 21819 packages20 appfactories21 appdispatch22 urlprocessors23 distribute24 fabric25 sqlite326 sqlalchemy27 fileuploads28 caching29 viewdecorators30 wtforms31 templateinheritance32 flashing33 jquery34 errorpages35 lazyloading36 mongokit37 favicon38 streaming39 deferredcallbacks40 methodoverrides