Merge pull request #681 from dmizelle/docs-quickstart
fixes #677 - mistype in docs/quickstart
This commit is contained in:
commit
b9118ca0cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue