Opened 9 years ago

Closed 9 years ago

Last modified 8 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: UI/UX:

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 Changed 9 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 9 years ago by ymasuda <ymasuda@…>

  • Resolution fixed deleted
  • Status changed from closed to reopened

'/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 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from reopened to closed

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

comment:4 Changed 8 years ago by anonymous

  • milestone Version 1.0 deleted

Milestone Version 1.0 deleted

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