Ticket #11222: 11222.diff

File 11222.diff, 945 bytes (added by Tim Graham, 14 years ago)

expliclitely state that the default Django admin template directory is part of the source code

  • docs/intro/tutorial02.txt

     
    414414    )
    415415
    416416Now copy the template ``admin/base_site.html`` from within the default Django
    417 admin template directory (``django/contrib/admin/templates``) into an ``admin``
    418 subdirectory of whichever directory you're using in :setting:`TEMPLATE_DIRS`.
    419 For example, if your :setting:`TEMPLATE_DIRS` includes
     417admin template directory in the source code (``django/contrib/admin/templates``)
     418into an ``admin`` subdirectory of whichever directory you're using in
     419:setting:`TEMPLATE_DIRS`. For example, if your :setting:`TEMPLATE_DIRS` includes
    420420``"/home/my_username/mytemplates"``, as above, then copy
    421421``django/contrib/admin/templates/admin/base_site.html`` to
    422422``/home/my_username/mytemplates/admin/base_site.html``. Don't forget that
Back to Top