diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2024-08-28 14:24:07 -0400 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2024-08-28 15:26:55 -0300 |
| commit | 9b09a4fd95310eb4d41430bdd5972047184b3aab (patch) | |
| tree | 31d1c1cb34b34ccab8022c897a24405b6641f53f | |
| parent | 9a461cae3e5536cbacafa53dbd290ff68df22e67 (diff) | |
[5.1.x] Fixed typos in docs/howto/initial-data.txt.
Backport of 920efe503f8a1b16a497a792075c987080f3280a from main.
| -rw-r--r-- | docs/howto/initial-data.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/howto/initial-data.txt b/docs/howto/initial-data.txt index af2852cc7b..a8c5a57726 100644 --- a/docs/howto/initial-data.txt +++ b/docs/howto/initial-data.txt @@ -85,7 +85,7 @@ Tell Django where to look for fixture files ------------------------------------------- By default, Django looks for fixtures in the ``fixtures`` directory inside each -app for, so the command ``loaddata sample`` will find the file +app, so the command ``loaddata sample`` will find the file ``my_app/fixtures/sample.json``. This works with relative paths as well, so ``loaddata my_app/sample`` will find the file ``my_app/fixtures/my_app/sample.json``. @@ -93,7 +93,7 @@ app for, so the command ``loaddata sample`` will find the file Django also looks for fixtures in the list of directories provided in the :setting:`FIXTURE_DIRS` setting. -To completely prevent default search form happening, use an absolute path to +To completely prevent default search from happening, use an absolute path to specify the location of your fixture file, e.g. ``loaddata /path/to/sample``. .. admonition:: Namespace your fixture files |
