Ticket #16680: tut2.diff
File tut2.diff, 1.1 KB (added by , 13 years ago) |
---|
-
docs/intro/tutorial02.txt
405 405 tell Django where our templates live:: 406 406 407 407 TEMPLATE_DIRS = ( 408 "/home/my_username/mytemplates", # Change this to your own directory.408 '/home/my_username/mytemplates', # Change this to your own directory. 409 409 ) 410 410 411 411 Now copy the template ``admin/base_site.html`` from within the default Django 412 412 admin template directory in the source code of Django itself 413 413 (``django/contrib/admin/templates``) into an ``admin`` subdirectory of 414 414 whichever directory you're using in :setting:`TEMPLATE_DIRS`. For example, if 415 your :setting:`TEMPLATE_DIRS` includes `` "/home/my_username/mytemplates"``, as415 your :setting:`TEMPLATE_DIRS` includes ``'/home/my_username/mytemplates'``, as 416 416 above, then copy ``django/contrib/admin/templates/admin/base_site.html`` to 417 417 ``/home/my_username/mytemplates/admin/base_site.html``. Don't forget that 418 418 ``admin`` subdirectory.