Skip to content
Myr

Remove comma.

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

authored by Alex Couper · committed by Alex Couper · parent 8ee01ad · 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
43 unmodified lines
44 in this example), you should use `__name__` because depending on if it's45 started as application or imported as module the name will be different46 (``'__main__'`` versus the actual import name). This is needed so that47 Flask knows where to look for templates, static files, and so on. For more48 information, have a look at the :class:`~flask.Flask` documentation.48 information have a look at the :class:`~flask.Flask` documentation.493. We then use the :meth:`~flask.Flask.route` decorator to tell Flask what URL50 should trigger our function.514. The function is given a name which is also used to generate URLs for that52 particular function, and returns the message we want to display in the
800 unmodified lines