index.rst
This file
Path
docs/patterns/index.rst
45 lines · 1.0 KiB
Last changed by
Merge branch '1.0-maintenance'David Lordbefore adoptionac6746d
History of this fileTake it
The walk stopped after 200 commits: lines older than c74f469 point at it.
Merge pull request #2436 from davidism/loggingDavid Lordbefore adoptionc74f469
lines 1–36why, one step back1.. _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 apierrors23 urlprocessors24 distribute25 fabric26 sqlite327 sqlalchemy28 fileuploads29 caching30 viewdecorators31 wtforms32 templateinheritance33 flashing34 jquery35 errorpages36 lazyloadingMerge branch '1.0-maintenance'David Lordbefore adoptionac6746d
line 37why, one step back37 mongoengineMerge pull request #2436 from davidism/loggingDavid Lordbefore adoptionc74f469
lines 38–44why, one step back38 favicon39 streaming40 deferredcallbacks41 methodoverrides42 requestchecksum43 celery44 subclassingMerge pull request #2996 from alysivji/spa-docsDavid Lordbefore adoptionb78ebac
line 45why, one step back45 singlepageapplications