Opened 4 years ago

Closed 4 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 Changed 4 years ago by macca728@…

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:2 Changed 4 years ago by Claude Paroz

Easy pickings: set
Triage Stage: UnreviewedAccepted

comment:3 Changed 4 years ago by rahobbs

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 Changed 4 years ago by Simon Charette

This was fixed in the development version of the doc by 3f1c7b70537330435e2ec2fca9550f7b7fa4372e but not in 1.5.

Maybe we could backport this.

comment:5 Changed 4 years ago by anonymous

Owner: changed from nobody to anonymous
Status: newassigned

comment:6 Changed 4 years ago by woodm

Owner: changed from anonymous to woodm

comment:7 Changed 4 years ago by woodm

Has patch: set

comment:8 Changed 4 years ago by Simon Charette <charette.s@…>

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