Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2485 closed enhancement (fixed)

Confusing comment in

Reported by: anonymous Owned by: Adrian Holovaty
Component: Template system Version:
Severity: trivial Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Hi guys,


It took me half an hour to realize the TEMPLATE_DIRS tuple wants an absolute path (I'm on Windows). Now I've finally got it but it could leave some newbies like myself wondering for a while.

So something like replacing the actual comment
# Put strings here, like "/home/html/django_templates".
# Always use forward slashes, even on Windows.

# Put _absolute paths_ here, like "/home/html/django_templates" or "C:/www/foo_project/templates"
# Always use forward slashes, even on Windows.

Other than that, thanks for Django!

Change History (2)

comment:1 Changed 12 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [3525]) Fixed #2485 -- Added comment to project_template/ that says to use absolute paths, not relative paths

comment:2 Changed 12 years ago by anonymous


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