Fixed #11222 -- Clarified location of admin templates in tutorial02. Thanks, cantorman

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2010-01-10 21:56:15 +00:00
parent dd167aa91e
commit 8bf71f5c8d
1 changed files with 5 additions and 5 deletions

View File

@ -414,11 +414,11 @@ tell Django where our templates live::
) )
Now copy the template ``admin/base_site.html`` from within the default Django Now copy the template ``admin/base_site.html`` from within the default Django
admin template directory (``django/contrib/admin/templates``) into an ``admin`` admin template directory in the source code of Django itself
subdirectory of whichever directory you're using in :setting:`TEMPLATE_DIRS`. (``django/contrib/admin/templates``) into an ``admin`` subdirectory of
For example, if your :setting:`TEMPLATE_DIRS` includes whichever directory you're using in :setting:`TEMPLATE_DIRS`. For example, if
``"/home/my_username/mytemplates"``, as above, then copy your :setting:`TEMPLATE_DIRS` includes ``"/home/my_username/mytemplates"``, as
``django/contrib/admin/templates/admin/base_site.html`` to above, then copy ``django/contrib/admin/templates/admin/base_site.html`` to
``/home/my_username/mytemplates/admin/base_site.html``. Don't forget that ``/home/my_username/mytemplates/admin/base_site.html``. Don't forget that
``admin`` subdirectory. ``admin`` subdirectory.