Skip to content
Myr

Update docs/quickstart.rst

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

Removed incorrect syntax and simplified remaining sentence.

authored by jfinkels · committed by jfinkels · parent 3b9fe7c · Browse files · 1 file+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

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:docs/quickstart.rst+3 added-3 removed
625 unmodified lines
626627Redirects and Errors628--------------------629630To redirect a user to somewhere else you can use the631:func:`~flask.redirect` function. To abort a request early with an error632code use the :func:`~flask.abort` function. Here an example how this works::630To redirect a user to another endpoint, use the :func:`~flask.redirect`631function; to abort a request early with an error code, use the632:func:`~flask.abort` function::633634 from flask import abort, redirect, url_for635636 @app.route('/')
217 unmodified lines