Django

Code

Ticket #2854 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

docs/tutorial02.txt instruction needs calrification

Reported by: bonovoxmofo@gmail.com Assigned to: somebody
Milestone: Component: Documentation
Version: Keywords: documentation tutorial
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

Attachments

Change History

10/23/06 02:55:17 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

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

10/24/06 06:56:19 changed by ymasuda <ymasuda@ethercube.com>

  • status changed from closed to reopened.
  • resolution deleted.

'/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.

10/24/06 11:56:25 changed by adrian

  • status changed from reopened to closed.
  • resolution set to fixed.

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

01/17/07 16:12:17 changed by

  • milestone deleted.

Milestone Version 1.0 deleted


Add/Change #2854 (docs/tutorial02.txt instruction needs calrification)




Change Properties
Action