Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#2854 closed defect (fixed)

docs/tutorial02.txt instruction needs calrification

Reported by: bonovoxmofo@… Owned by: somebody
Component: Documentation Version:
Severity: normal Keywords: documentation tutorial
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

docs/turorial02.txt

Needs clarification

Right now this part of the file reads like this:
{{
By default, TEMPLATE_DIRS is empty. So, let's add a line to it, to tell
Django where our templates live::

TEMPLATE_DIRS = (

"/home/mytemplates", # Change this to your own directory.

)

}}

IMHO it should change to this, to be consistent and clear:
{{
By default, TEMPLATE_DIRS is empty. So, let's add a line to it, to tell
Django where our templates live::

TEMPLATE_DIRS = (

"/home/your_username/mytemplates", # Change this to your own directory.

)

}}

Thank you + Great work, thanks for django.
Ivan

Change History (4)

comment:1 by Malcolm Tredinnick, 18 years ago

Resolution: fixed
Status: newclosed

(In [3915]) Fixed #2854 -- Incorporated a small suggestion which might make it clearer where
TEMPLATE_DIRS could point. Thanks, bonovoxmofo@….

comment:2 by ymasuda <ymasuda@…>, 18 years ago

Resolution: fixed
Status: closedreopened

'/home/templates' is mentioned twice more: in paragraph immediately after that line (>382)::

subdirectory of whichever directory you're using in ``TEMPLATE_DIRS``. For
example, if your ``TEMPLATE_DIRS`` includes ``"/home/mytemplates"``, as above,
then copy ``django/contrib/admin/templates/admin/base_site.html`` to
``/home/mytemplates/admin/base_site.html``. Don't forget that ``admin``
subdirectory.

comment:3 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: reopenedclosed

(In [3928]) Fixed #2854 -- Fixed inconsistency in docs/tutorial02.txt. Thanks, ymasuda

comment:4 by (none), 17 years ago

milestone: Version 1.0

Milestone Version 1.0 deleted

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