Browse Source

Merge pull request #681 from dmizelle/docs-quickstart

fixes #677 - mistype in docs/quickstart
pull/692/head
Kenneth Reitz 12 years ago
parent
commit
b9118ca0cc
  1. 2
      docs/quickstart.rst

2
docs/quickstart.rst

@ -694,7 +694,7 @@ Imagine you have a view like this:
return render_template('error.html'), 404 return render_template('error.html'), 404
You just need to wrap the return expression with You just need to wrap the return expression with
:func:`~flask.make_response` and get the result object to modify it, then :func:`~flask.make_response` and get the response object to modify it, then
return it: return it:
.. sourcecode:: python .. sourcecode:: python

Loading…
Cancel
Save