Skip to content
Myr

Merge pull request #681 from dmizelle/docs-quickstart

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

fixes #677 - mistype in docs/quickstart

authored by Kenneth Reitz · committed by Kenneth Reitz · parents aa83d91, c999c17 · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/quickstart.rst+1 added-1 removed
692 unmodified lines
693 def not_found(error):694 return render_template('error.html'), 404695696You just need to wrap the return expression with697:func:`~flask.make_response` and get the result object to modify it, then697:func:`~flask.make_response` and get the response object to modify it, then698return it:699700.. sourcecode:: python701
151 unmodified lines