Opened 12 years ago
Closed 12 years ago
#20051 closed Cleanup/optimization (fixed)
Missing info in tutorial page 2
Reported by: | anonymous | Owned by: | woodm |
---|---|---|---|
Component: | Documentation | Version: | 1.5 |
Severity: | Normal | Keywords: | tutorial |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Go to https://docs.djangoproject.com/en/1.5/intro/tutorial02/
ctrl+F "By default, TEMPLATE_DIRS is empty."
It says add this line of code:
TEMPLATE_DIRS = ( '/path/to/mysite/templates', # Change this to your own directory. )
But it doesn't say what file to add this to, I got help on IRC, but it should say edit your settings.py file and find this bit and change accordingly.
Change History (8)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Easy pickings: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 12 years ago
comment:4 by , 12 years ago
This was fixed in the development version of the doc by 3f1c7b70537330435e2ec2fca9550f7b7fa4372e but not in 1.5.
Maybe we could backport this.
comment:5 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:6 by , 12 years ago
Owner: | changed from | to
---|
comment:7 by , 12 years ago
Has patch: | set |
---|
Pull request here: https://github.com/django/django/pull/916
comment:8 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
It looks like this has already been changed. https://github.com/django/django/blob/master/docs/intro/tutorial02.txt
Should this ticket be closed?