Loading docs/intro/tutorial02.txt +4 −4 Original line number Diff line number Diff line Loading @@ -488,10 +488,10 @@ system. Customizing your *project's* templates -------------------------------------- Create a ``templates`` directory in your project 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. 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. Open your settings file (:file:`mysite/settings.py`, remember) and add a :setting:`DIRS <TEMPLATES-DIRS>` option in the :setting:`TEMPLATES` setting: Loading Loading
docs/intro/tutorial02.txt +4 −4 Original line number Diff line number Diff line Loading @@ -488,10 +488,10 @@ system. Customizing your *project's* templates -------------------------------------- Create a ``templates`` directory in your project 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. 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. Open your settings file (:file:`mysite/settings.py`, remember) and add a :setting:`DIRS <TEMPLATES-DIRS>` option in the :setting:`TEMPLATES` setting: Loading