#2854 closed defect (fixed)
docs/tutorial02.txt instruction needs calrification
Reported by: | 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 , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 18 years ago
Resolution: | fixed |
---|---|
Status: | closed → 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 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
(In [3915]) Fixed #2854 -- Incorporated a small suggestion which might make it clearer where
TEMPLATE_DIRS could point. Thanks, bonovoxmofo@….