Skip to content
Myr

Put the link to Flask class docs at the end.

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 cc8a85d · 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
41 unmodified lines
422. Next we create an instance of this class. The first argument is the name of43 the application's module or package. If you are using a single module (as44 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). For more information, have47 a look at the :class:`~flask.Flask` documentation. This is needed so that48 Flask knows where to look for templates, static files, and so on.46 (``'__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.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