Skip to content
Myr

Fix formatting issue in quickstart guide

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

Due to a formatting issue in the reStructuredText input, the HTML output produced a description list (<dl>) within the ordered list.

authored by Martin Michlmayr · committed by Martin Michlmayr · parent 0b5b4a6 · Browse files · 1 file+4 added−4 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+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:docs/quickstart.rst+4 added-4 removed
263 unmodified lines
264:func:`~flask.url_for` instead of hard-coding them into your templates?2652661. Reversing is often more descriptive than hard-coding the URLs.2672. You can change your URLs in one go instead of needing to remember to268 manually change hard-coded URLs.268 manually change hard-coded URLs.2693. URL building handles escaping of special characters and Unicode data270 transparently.270 transparently.2714. The generated paths are always absolute, avoiding unexpected behavior272 of relative paths in browsers.2735. If your application is placed outside the URL root, for example, in274 ``/myapplication`` instead of ``/``, :func:`~flask.url_for` properly275 handles that for you.274 ``/myapplication`` instead of ``/``, :func:`~flask.url_for` properly275 handles that for you.276277For example, here we use the :meth:`~flask.Flask.test_request_context` method278to try out :func:`~flask.url_for`. :meth:`~flask.Flask.test_request_context`279tells Flask to behave as though it's handling a request even while we use a
577 unmodified lines