Update send_from_directory docstring
This commit is contained in:
parent
c7f2ab8e7a
commit
9934528c8f
1 changed files with 2 additions and 1 deletions
|
|
@ -649,7 +649,8 @@ def send_from_directory(
|
||||||
If the final path does not point to an existing regular file,
|
If the final path does not point to an existing regular file,
|
||||||
raises a 404 :exc:`~werkzeug.exceptions.NotFound` error.
|
raises a 404 :exc:`~werkzeug.exceptions.NotFound` error.
|
||||||
|
|
||||||
:param directory: The directory that ``path`` must be located under.
|
:param directory: The directory that ``path`` must be located under,
|
||||||
|
relative to the current application's root path.
|
||||||
:param path: The path to the file to send, relative to
|
:param path: The path to the file to send, relative to
|
||||||
``directory``.
|
``directory``.
|
||||||
:param kwargs: Arguments to pass to :func:`send_file`.
|
:param kwargs: Arguments to pass to :func:`send_file`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue