Answer the question
In order to leave comments, you need to log in
Why doesn't Django find the right template?
When I try to load the page, I get the following message:
account/register.html
Request Method: GET
Request URL: http://127.0.0.1:8000/register/
Django Version: 1.5.4
Exception Type: TemplateDoesNotExist
Exception Value:
account/register.html
Exception Location: C:\Python33\lib\site-packages\django\template\loader.py in find_template, line 139
Python Executable: C:\Python33\python.exe
Python Version: 3.3.2
Python Path:
['C:\\Users\\user1\\testportal',
'C:\\windows\\system32\\python33.zip',
'C:\\Python33\\DLLs',
'C:\\Python33\\lib',
'C:\\Python33',
'C:\\Python33\\lib\\site-packages']
Server time: Wed, 18 Dec 2013 00:07:47 +0300
Template-loader postmortem
Django tried loading these templates, in this order:
Using loader django.template.loaders.filesystem.Loader:
Using loader django.template.loaders.app_directories.Loader:
C:\Python33\lib\site-packages\django\contrib\auth\templates\account\register.html (File does not exist)
C:\Python33\lib\site-packages\django\contrib\admin\templates\account\register.html (File does not exist)
C:\Users\user1\testportal\account\templates\account\register.html (File does not exist)
C:\Python33\lib\site-packages\django\contrib\admindocs\templates\account\register.html (File does not exist)
C:\Users\user1\testportal\account\templates\account\register.html (File does not exist)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question