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:
parent
ceecd518b1
commit
0bbba89d00
@ -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``
|
||||||
|
Loading…
Reference in New Issue
Block a user