Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2485 closed enhancement (fixed)

Confusing comment in settings.py

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: no UI/UX: no

Description

Hi guys,

file settings.py

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.

with
# 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 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: newclosed

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

comment:2 by anonymous, 18 years ago

huy

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