forked from orbit-oss/flask
Merge pull request #282 from callahad/master
Minor documentation grammar / typo fixes
This commit is contained in:
commit
e8e2e93409
2 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ document that you might use for a simple two-column page. It's the job of
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
In this example, the ``{% block %}`` tags define four blocks that child templates
|
In this example, the ``{% block %}`` tags define four blocks that child templates
|
||||||
can fill in. All the `block` tag does is to tell the template engine that a
|
can fill in. All the `block` tag does is tell the template engine that a
|
||||||
child template may override those portions of the template.
|
child template may override those portions of the template.
|
||||||
|
|
||||||
Child Template
|
Child Template
|
||||||
|
|
|
||||||
|
|
@ -421,7 +421,7 @@ def safe_join(directory, filename):
|
||||||
|
|
||||||
:param directory: the base directory.
|
:param directory: the base directory.
|
||||||
:param filename: the untrusted filename relative to that directory.
|
:param filename: the untrusted filename relative to that directory.
|
||||||
:raises: :class:`~werkzeug.exceptions.NotFound` if the retsulting path
|
:raises: :class:`~werkzeug.exceptions.NotFound` if the resulting path
|
||||||
would fall out of `directory`.
|
would fall out of `directory`.
|
||||||
"""
|
"""
|
||||||
filename = posixpath.normpath(filename)
|
filename = posixpath.normpath(filename)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue