Added explicit note to docs/tutorial02.txt that you should edit TEMPLATE_DIRS in the *admin* settings file if you want to change admin template directories

git-svn-id: http://code.djangoproject.com/svn/django/trunk@425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-07 01:00:58 +00:00
parent 5bb56520a5
commit 67bb1bc701
1 changed files with 3 additions and 0 deletions

View File

@ -391,6 +391,9 @@ the default admin template directory::
"/usr/lib/python2.3/site-packages/django/conf/admin_templates",
)
Again, note that you should edit the admin settings file, not the main settings
file. That's because we're dealing with admin-site templates.
Now copy the template ``base_site.html`` from within the default Django admin
template directory, into ``/home/mytemplates/admin`` (or wherever you're
putting your custom admin templates). Edit the file and replace the generic