Opened 6 years ago

Closed 5 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: UI/UX:

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 timo 6 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)

Changed 6 years ago by timo

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

comment:1 Changed 6 years ago by timo

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

seems like a good thing to point out to newbies.

comment:2 Changed 5 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

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