Opened 15 years ago

Closed 15 years ago

#11222 closed (fixed)

tutorial docs only give the relative location of the templates

Reported by: cantorman Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In the tutorial docs, part 2, we have this text: "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 TEMPLATE_DIRS." Since I just installed it I figured it might be in the source, and it seems to be there, but since it didn't get installed (using the instructions at the root of the tar file I downloaded) it would be hard to find if one were not the original installer. The suggestion is for the docs to mention that the template dirs are in the source distro, or to have the setup.py script install the templates and have the docs reference that installed location, or have an admin class that does it.

But I'm having fun!!

Attachments (1)

11222.diff (945 bytes ) - added by Tim Graham 15 years ago.
expliclitely state that the default Django admin template directory is part of the source code

Download all attachments as: .zip

Change History (3)

by Tim Graham, 15 years ago

Attachment: 11222.diff added

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

comment:1 by Tim Graham, 15 years ago

Has patch: set
Triage Stage: UnreviewedReady for checkin

seems like a good thing to point out to newbies.

comment:2 by Adrian Holovaty, 15 years ago

Resolution: fixed
Status: newclosed

(In [12202]) Fixed #11222 -- Clarified location of admin templates in tutorial02. Thanks, cantorman

Note: See TracTickets for help on using tickets.
Back to Top