Opened 11 years ago
Closed 11 years ago
#22198 closed Uncategorized (invalid)
update to filepath to locate base_site.html
Reported by: | 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
I think you misread. It does say to copy "admin/base_site.html" (note the admin prefix) from "django/contrib/admin/templates".