Opened 11 years ago

Closed 11 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 macca728@…, 11 years ago

comment:2 by Claude Paroz, 11 years ago

Easy pickings: set
Triage Stage: UnreviewedAccepted

comment:3 by rahobbs, 11 years ago

It looks like this has already been changed. https://github.com/django/django/blob/master/docs/intro/tutorial02.txt

Should this ticket be closed?

comment:4 by Simon Charette, 11 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 anonymous, 11 years ago

Owner: changed from nobody to anonymous
Status: newassigned

comment:6 by woodm, 11 years ago

Owner: changed from anonymous to woodm

comment:7 by woodm, 11 years ago

Has patch: set

comment:8 by Simon Charette <charette.s@…>, 11 years ago

Resolution: fixed
Status: assignedclosed

In 5c788770167bc236fb1e16ac6d1414db26fee26c:

[1.5.x] Fixed #20051 -- Specified where to define TEMPLATE_DIRS.

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