New member
- Joined
- Feb 9, 2023
- Messages
- 8
- Thread Author
- #1
TemplateDoesNotExist at / todo_list_templates/list.html Request Method: GET Request URL: http://127.0.0.1:8001/ Django Version: 4.1.2 Exception Type: TemplateDoesNotExist Exception Value:
todo_list_templates/list.html Exception Location: C:\Users\sachi\AppData\Local\Programs\Python\Python310\lib\site-packages\django\template\loader.py, line 19, in get_template Raised during: todo_list.views.index Python Executable: C:\Users\sachi\AppData\Local\Programs\Python\Python310\python.exe Python Version: 3.10.5 Python Path:
['C:\Users\sachi\Todo_app', 'C:\Users\sachi\AppData\Local\Programs\Python\Python310\python310.zip', 'C:\Users\sachi\AppData\Local\Programs\Python\Python310\DLLs', 'C:\Users\sachi\AppData\Local\Programs\Python\Python310\lib', 'C:\Users\sachi\AppData\Local\Programs\Python\Python310', 'C:\Users\sachi\AppData\Local\Programs\Python\Python310\lib\site-packages'] Server time: Fri, 24 Feb 2023 07:00:37 +0000 Template-loader postmortem Django tried loading these templates, in this order:
Using engine django:
django.template.loaders.filesystem.Loader: C:\Users\sachi\Todo_app\Templates\todo_list_templates\list.html (Source does not exist) django.template.loaders.app_directories.Loader: C:\Users\sachi\AppData\Local\Programs\Python\Python310\lib\site-packages\django\contrib\admin\templates\todo_list_templates\list.html (Source does not exist) django.template.loaders.app_directories.Loader: C:\Users\sachi\AppData\Local\Programs\Python\Python310\lib\site-packages\django\contrib\auth\templates\todo_list_templates\list.html (Source does not exist)
i tried everything but couldnot work for me
todo_list_templates/list.html Exception Location: C:\Users\sachi\AppData\Local\Programs\Python\Python310\lib\site-packages\django\template\loader.py, line 19, in get_template Raised during: todo_list.views.index Python Executable: C:\Users\sachi\AppData\Local\Programs\Python\Python310\python.exe Python Version: 3.10.5 Python Path:
['C:\Users\sachi\Todo_app', 'C:\Users\sachi\AppData\Local\Programs\Python\Python310\python310.zip', 'C:\Users\sachi\AppData\Local\Programs\Python\Python310\DLLs', 'C:\Users\sachi\AppData\Local\Programs\Python\Python310\lib', 'C:\Users\sachi\AppData\Local\Programs\Python\Python310', 'C:\Users\sachi\AppData\Local\Programs\Python\Python310\lib\site-packages'] Server time: Fri, 24 Feb 2023 07:00:37 +0000 Template-loader postmortem Django tried loading these templates, in this order:
Using engine django:
django.template.loaders.filesystem.Loader: C:\Users\sachi\Todo_app\Templates\todo_list_templates\list.html (Source does not exist) django.template.loaders.app_directories.Loader: C:\Users\sachi\AppData\Local\Programs\Python\Python310\lib\site-packages\django\contrib\admin\templates\todo_list_templates\list.html (Source does not exist) django.template.loaders.app_directories.Loader: C:\Users\sachi\AppData\Local\Programs\Python\Python310\lib\site-packages\django\contrib\auth\templates\todo_list_templates\list.html (Source does not exist)
i tried everything but couldnot work for me