TemplateDoesNotExist at /

117 views
Skip to first unread message

peter softy

unread,
Jun 4, 2022, 10:59:13 AM6/4/22
to Django users
TemplateDoesNotExist at /home.html
Request Method:
GET
Request URL:
http://127.0.0.1:8000/
Django Version:
4.0.3
Exception Type:
TemplateDoesNotExist
Exception Value:
home.html
Exception Location:
C:\Users\softy\AppData\Local\Programs\Python\Python310\lib\site-packages\django\template\loader.py, line 47, in select_template
Python Executable:
C:\Users\softy\AppData\Local\Programs\Python\Python310\python.exe
Python Version:
3.10.2
Python Path:
['D:\\PYTHON COURSE RESOURCES\\BOOKS\\1 WEB DEVELOPMENT\\django ' '1\\djangonautic\\djangonautic\\booktime\\booktime', 'C:\\Users\\softy\\AppData\\Local\\Programs\\Python\\Python310\\python310.zip', 'C:\\Users\\softy\\AppData\\Local\\Programs\\Python\\Python310\\DLLs', 'C:\\Users\\softy\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\Users\\softy\\AppData\\Local\\Programs\\Python\\Python310', 'C:\\Users\\softy\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages', 'C:\\Users\\softy\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\win32', 'C:\\Users\\softy\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\win32\\lib', 'C:\\Users\\softy\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\Pythonwin']
Server time:
Sat, 04 Jun 2022 08:16:02 +0000
Template-loader postmortem

Django tried loading these templates, in this order:

Using engine django:

  • django.template.loaders.app_directories.Loader: C:\Users\softy\AppData\Local\Programs\Python\Python310\lib\site-packages\django\contrib\admin\templates\home.html (Source does not exist)
  • django.template.loaders.app_directories.Loader: C:\Users\softy\AppData\Local\Programs\Python\Python310\lib\site-packages\django\contrib\auth\templates\home.html (Source does not exist)

bnmng

unread,
Jun 5, 2022, 12:32:37 PM6/5/22
to Django users
What it the URL that is causing this error?
Reply all
Reply to author
Forward
0 new messages