Forums

TemplateDoesNotExist

I had this same problem about a month ago and it popped up again when trying to set up a new web app. I checked my settings and it has a relative path to the templates:

TEMPLATE_PATH = os.path.join(BASE_DIR, 'templates')

The installed apps also does have my app installed too.

INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'Kappa', )

I made sure the static files under the 'web' tab matched too. The error says TemplateDoesNotExist at /Kappa/ with exception value: Kappa/index.html, but when I check the files tab, the template is still there with the same name. I made sure to capitalize the names too to match it. Does anyone know how to fix this issue?

EDIT: Nevermind. Checked the file again and it was a capitalization issue. Capitalized all of the static/template urls, but didn't capitalize the path in the settings.py...

:) glad you figured it out!

I am also facing the same problem. How I fix it

Could you give an example of a URL that shows the problem?