Ticket #16680: tut2.diff

File tut2.diff, 1.1 KB (added by michaeltomkins, 9 years ago)

a svn diff of my suggested solution

  • docs/intro/tutorial02.txt

     
    405405tell Django where our templates live::
    406406
    407407    TEMPLATE_DIRS = (
    408         "/home/my_username/mytemplates", # Change this to your own directory.
     408        '/home/my_username/mytemplates', # Change this to your own directory.
    409409    )
    410410
    411411Now copy the template ``admin/base_site.html`` from within the default Django
    412412admin template directory in the source code of Django itself
    413413(``django/contrib/admin/templates``) into an ``admin`` subdirectory of
    414414whichever directory you're using in :setting:`TEMPLATE_DIRS`. For example, if
    415 your :setting:`TEMPLATE_DIRS` includes ``"/home/my_username/mytemplates"``, as
     415your :setting:`TEMPLATE_DIRS` includes ``'/home/my_username/mytemplates'``, as
    416416above, then copy ``django/contrib/admin/templates/admin/base_site.html`` to
    417417``/home/my_username/mytemplates/admin/base_site.html``. Don't forget that
    418418``admin`` subdirectory.
Back to Top