]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏ Fix typo about file path in `docs/en/docs/tutorial/bigger-applications.md` (#3285)
authorDenys Marichev <marichevdenysmail@gmail.com>
Thu, 7 Oct 2021 14:07:46 +0000 (17:07 +0300)
committerGitHub <noreply@github.com>
Thu, 7 Oct 2021 14:07:46 +0000 (14:07 +0000)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/en/docs/tutorial/bigger-applications.md

index 2796d7fb19bcd500be3f779eae35f7b734e89648..2a2e764b5988d60a822e4e909ff07f28b2db6196 100644 (file)
@@ -234,7 +234,7 @@ mean:
 
 * Starting in the same package that this module (the file `app/routers/items.py`) lives in (the directory `app/routers/`)...
 * go to the parent package (the directory `app/`)...
-* and in there, find the module `dependencies` (the file at `app/routers/dependencies.py`)...
+* and in there, find the module `dependencies` (the file at `app/dependencies.py`)...
 * and from it, import the function `get_token_header`.
 
 That works correctly! 🎉
@@ -252,7 +252,7 @@ that would mean:
 * Starting in the same package that this module (the file `app/routers/items.py`) lives in (the directory `app/routers/`)...
 * go to the parent package (the directory `app/`)...
 * then go to the parent of that package (there's no parent package, `app` is the top level 😱)...
-* and in there, find the module `dependencies` (the file at `app/routers/dependencies.py`)...
+* and in there, find the module `dependencies` (the file at `app/dependencies.py`)...
 * and from it, import the function `get_token_header`.
 
 That would refer to some package above `app/`, with its own file `__init__.py`, etc. But we don't have that. So, that would throw an error in our example. 🚨