summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial07.txt
diff options
context:
space:
mode:
authorMeta <petmetic@gmail.com>2024-08-07 16:07:22 -0300
committerNatalia <124304+nessita@users.noreply.github.com>2024-10-09 09:13:37 -0300
commit2bd546957dcc716fbef6796368e7f5a17bf0a452 (patch)
tree053851363230e965a4faa115a3b525975173e10e /docs/intro/tutorial07.txt
parente2551b30adc8016c615761c80301e20f1c75e81d (diff)
[5.1.x] Fixed #35502 -- Removed duplication of "mysite" directory name in intro docs.
Reorganized intro docs when explaining `django-admin startproject` to prevent confusion when using "mysite" as both the top-level directory and the Django project directory name. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Co-authored-by: Carlton Gibson <carlton@noumenal.es> Backport of d2c74cfb48a3d29159732fb98e3c28a53572067f from main.
Diffstat (limited to 'docs/intro/tutorial07.txt')
-rw-r--r--docs/intro/tutorial07.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/intro/tutorial07.txt b/docs/intro/tutorial07.txt
index e0c87be898..62eded4864 100644
--- a/docs/intro/tutorial07.txt
+++ b/docs/intro/tutorial07.txt
@@ -306,10 +306,10 @@ powered by Django itself, and its interfaces use Django's own template system.
Customizing your *project's* templates
--------------------------------------
-Create a ``templates`` directory in your project directory (the one that
-contains ``manage.py``). Templates can live anywhere on your filesystem that
-Django can access. (Django runs as whatever user your server runs.) However,
-keeping your templates within the project is a good convention to follow.
+Create a ``templates`` directory in your ``djangotutorial`` directory.
+Templates can live anywhere on your filesystem that Django can access. (Django
+runs as whatever user your server runs.) However, keeping your templates within
+the project is a good convention to follow.
Open your settings file (:file:`mysite/settings.py`, remember) and add a
:setting:`DIRS <TEMPLATES-DIRS>` option in the :setting:`TEMPLATES` setting: