Commit Graph

20 Commits

Author SHA1 Message Date
David Lord c2705ffd9c
merge app and request context 2025-09-19 16:43:53 -07:00
David Lord d8259eb119
use Jinja name consistently 2025-08-19 10:43:16 -07:00
David Lord a0458efef6
refactor or remove old docs (#4748) 2022-08-05 11:28:22 -07:00
Luis Palacios 410a324ec4
remove becomingbig.rst 2022-05-10 09:16:44 -07:00
David Lord dc3e9c0cc3
update async docs 2021-04-06 15:33:06 -07:00
pgjones 6979265fa6
Add `async` support
This allows for async functions to be passed to the Flask class
instance, for example as a view function,

    @app.route("/")
    async def index():
        return "Async hello"

this comes with a cost though of poorer performance than using the
sync equivalent.

asgiref is the standard way to run async code within a sync context,
and is used in Django making it a safe and sane choice for this.
2021-04-06 09:35:10 -07:00
David Lord 171aabc87d
remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord 7673835b3d
remove Python 2 from docs 2020-04-04 12:05:44 -07:00
A Brooks 4e272fc042
Fix various small spelling errors. 2019-05-16 11:50:10 -07:00
Akshar Raaj a9b22af9bc Fixed documentation in 'Design Decisions in Flask' 2013-05-03 17:42:15 +05:30
Randall Degges 40ccc0a99a Fixing some wording in the design documentation. 2012-07-20 14:29:10 -07:00
Ron DuPlain a3cb2a3382 Use American English for "behavior" in docs.
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
2012-04-19 11:51:38 -04:00
Armin Ronacher 08bf538fb4 Added a note on the behaviour of the routing system 2011-08-27 00:36:53 +02:00
Armin Ronacher c0abdc4fa5 Interlinked design docs better 2010-07-18 22:01:11 +02:00
Armin Ronacher fe35105bec Updated design decisions. This fixes #63 2010-06-18 17:03:31 +02:00
Georg Brandl a224fecfd5 More typo fixes. 2010-05-30 02:15:05 +08:00
Georg Brandl 63caf6e158 Fix some typos. 2010-05-30 02:15:05 +08:00
Ron DuPlain 93a8ca0282 Fixed some minor typos throughout docs. 2010-05-13 18:31:08 +08:00
Chris Edgemon a7ff9dbddd Proofreading the documentation 2010-04-19 23:25:51 -05:00
Armin Ronacher 190059c8f0 Added support for macro pulling and documented certain design decisions. 2010-04-18 15:44:06 +02:00