#22198 closed Uncategorized (invalid)

update to filepath to locate base_site.html

Reported by: brendanthomasspillane@… Owned by: nobody
Component: Documentation Version: 1.6
Severity: Normal Keywords: template
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi there, great software and great tutorials, but one quick question.

On Tutorial 2 https://docs.djangoproject.com/en/1.6/intro/tutorial02/ where it says

"Now create a directory called admin inside templates, and copy the template admin/base_site.html from within the default Django admin template directory in the source code of Django itself (django/contrib/admin/templates) into that directory."

Should this not read

"Now create a directory called admin inside templates, and copy the template admin/base_site.html from within the default Django admin template directory in the source code of Django itself (django/contrib/admin/templates/admin) into that directory."

When I was following the tutorial I was not able to find the base_site.html in the templates folder but instead had to go into templates/admin

Thanks

Change History (1)

comment:1 Changed 13 months ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

I think you misread. It does say to copy "admin/base_site.html" (note the admin prefix) from "django/contrib/admin/templates".

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