1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Update tutorial07.txt DIRS option instructions

This commit is contained in:
Mike Rinehart 2024-11-28 15:33:59 -06:00 committed by GitHub
parent ceecd518b1
commit 0bbba89d00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -311,8 +311,8 @@ Templates can live anywhere on your filesystem that Django can access. (Django
runs as whatever user your server runs.) However, keeping your templates within runs as whatever user your server runs.) However, keeping your templates within
the project is a good convention to follow. the project is a good convention to follow.
Open your settings file (:file:`mysite/settings.py`, remember) and add a Open your settings file (:file:`mysite/settings.py`, remember) and make note
:setting:`DIRS <TEMPLATES-DIRS>` option in the :setting:`TEMPLATES` setting: of the :setting:`DIRS <TEMPLATES-DIRS>` option in the :setting:`TEMPLATES` setting:
.. code-block:: python .. code-block:: python
:caption: ``mysite/settings.py`` :caption: ``mysite/settings.py``