forked from orbit-oss/flask
Unify the uses of "file system" vs "fileystem".
Use "filesystem", which is more prevailing in the source code.
This commit is contained in:
parent
ebab6718f7
commit
d1423b3e16
2 changed files with 2 additions and 2 deletions
|
|
@ -222,7 +222,7 @@ The following converters exist:
|
||||||
Though they look rather similar, they differ in their use of the trailing
|
Though they look rather similar, they differ in their use of the trailing
|
||||||
slash in the URL *definition*. In the first case, the canonical URL for the
|
slash in the URL *definition*. In the first case, the canonical URL for the
|
||||||
`projects` endpoint has a trailing slash. In that sense, it is similar to
|
`projects` endpoint has a trailing slash. In that sense, it is similar to
|
||||||
a folder on a file system. Accessing it without a trailing slash will cause
|
a folder on a filesystem. Accessing it without a trailing slash will cause
|
||||||
Flask to redirect to the canonical URL with the trailing slash.
|
Flask to redirect to the canonical URL with the trailing slash.
|
||||||
|
|
||||||
In the second case, however, the URL is defined without a trailing slash,
|
In the second case, however, the URL is defined without a trailing slash,
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ class Flask(_PackageBoundObject):
|
||||||
|
|
||||||
The idea of the first parameter is to give Flask an idea of what
|
The idea of the first parameter is to give Flask an idea of what
|
||||||
belongs to your application. This name is used to find resources
|
belongs to your application. This name is used to find resources
|
||||||
on the file system, can be used by extensions to improve debugging
|
on the filesystem, can be used by extensions to improve debugging
|
||||||
information and a lot more.
|
information and a lot more.
|
||||||
|
|
||||||
So it's important what you provide there. If you are using a single
|
So it's important what you provide there. If you are using a single
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue