[Answered ]-Django telling me the template doesn't exist

2👍

It looks like you have:

TEMPLATE_DIRS = ('Users/jonathanschen/Python/projects/skeleton/yectime/templates',)

where you should have:

TEMPLATE_DIRS = ('/Users/jonathanschen/Python/projects/skeleton/yectime/templates',)

(note the leading slash, “/”).

A path that doesn’t start with a slash is a “relative” path; it’s added to the path of the current directory. Given your manage.py is probably in /Users/jonathanschen/Python/projects/skeleton/, the path Django is trying to look in for templates would end up being the long, wrong path you posted above.

Leave a comment