Ticket #8350: tutorial02_fixed_patch.diff

File tutorial02_fixed_patch.diff, 669 bytes (added by swillmon, 7 years ago)

Fixed diff for Tutorial 2

  • .txt

    old new  
    443443The template to customize is ``admin/index.html``. (Do the same as with
    444444``admin/base_site.html`` in the previous section -- copy it from the default
    445445directory to your custom template directory.) Edit the file, and you'll see it
    446 uses a template tag called ``{% get_admin_app_list as app_list %}``. That's the
     446uses a variable called ``{% app_list %}``. That's the
    447447magic that retrieves every installed Django app. Instead of using that, you can
    448448hard-code links to object-specific admin pages in whatever way you think is
    449449best.
Back to Top