Kaydet (Commit) 8bf71f5c authored tarafından Adrian Holovaty's avatar Adrian Holovaty

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
üst dd167aa9
......@@ -414,11 +414,11 @@ tell Django where our templates live::
)
Now copy the template ``admin/base_site.html`` from within the default Django
admin template directory (``django/contrib/admin/templates``) into an ``admin``
subdirectory of whichever directory you're using in :setting:`TEMPLATE_DIRS`.
For example, if your :setting:`TEMPLATE_DIRS` includes
``"/home/my_username/mytemplates"``, as above, then copy
``django/contrib/admin/templates/admin/base_site.html`` to
admin template directory in the source code of Django itself
(``django/contrib/admin/templates``) into an ``admin`` subdirectory of
whichever directory you're using in :setting:`TEMPLATE_DIRS`. For example, if
your :setting:`TEMPLATE_DIRS` includes ``"/home/my_username/mytemplates"``, as
above, then copy ``django/contrib/admin/templates/admin/base_site.html`` to
``/home/my_username/mytemplates/admin/base_site.html``. Don't forget that
``admin`` subdirectory.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment