Skip to content
Myr

Simple documentation corrections, mostly typos.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Craig Dennis · committed by Armin Ronacher · parent 8ae6ced · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:docs/foreword.rst+1 added-1 removed
42 unmodified lines
43object relational mappers, form validation, upload handling, various open44authentication technologies and more.4546Since Flask is based on a very solid foundation there is not a lot of code47in Flask itself. As such it's easy to adapt even for lage applications47in Flask itself. As such it's easy to adapt even for large applications48and we are making sure that you can either configure it as much as49possible by subclassing things or by forking the entire codebase. If you50are interested in that, check out the :ref:`becomingbig` chapter.51
49 unmodified lines
modified:docs/quickstart.rst+1 added-1 removed
614 unmodified lines
615 resp = make_response(render_template(...))616 resp.set_cookie('username', 'the username')617 return resp618619Note that cookies are set on response objects. Since you normally you619Note that cookies are set on response objects. Since you normally620just return strings from the view functions Flask will convert them into621response objects for you. If you explicitly want to do that you can use622the :meth:`~flask.make_response` function and then modify it.623
201 unmodified lines
modified:docs/signals.rst+1 added-1 removed
81 unmodified lines
82context are appended to it.8384Additionally there is a convenient helper method85(:meth:`~blinker.base.Signal.connected_to`). that allows you to86temporarily subscribe a function to a signal with is a context manager on86temporarily subscribe a function to a signal with a context manager on87its own. Because the return value of the context manager cannot be88specified that way one has to pass the list in as argument::8990 from flask import template_rendered
168 unmodified lines