Skip to content
Myr

Added very small clarification to quickstart.rst

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

authored by Deep R. Ode · committed by GitHub · parent 47e165d · 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
262 unmodified lines
263 def about():264 return 'The about page'265266The canonical URL for the ``projects`` endpoint has a trailing slash.267It's similar to a folder in a file system. If you access the URL without267It's similar to a folder in a file system. If you access ``/projects`` - the URL without268a trailing slash, Flask redirects you to the canonical URL with the269trailing slash.269trailing slash - ``/projects/``.270271The canonical URL for the ``about`` endpoint does not have a trailing272slash. It's similar to the pathname of a file. Accessing the URL with a272slash. It's similar to the pathname of a file. Accessing ``/about/`` - the URL with a273trailing slash produces a 404 "Not Found" error. This helps keep URLs274unique for these resources, which helps search engines avoid indexing275the same page twice.276
643 unmodified lines