DO you know that error I been trying to fox it since 6 hours with no udaptes

18 views
Skip to first unread message

Yann

unread,
May 12, 2024, 11:03:41 AMMay 12
to Django users
TemplateDoesNotExist at /login/ usagers/login.html
Request Method:
GET
Request URL:
http://127.0.0.1:8000/login/
Django Version:
4.0.3
Exception Type:
TemplateDoesNotExist
Exception Value:
usagers/login.html
Exception Location:
C:\Users\Yann\AppData\Local\Programs\Python\Python312\Lib\site-packages\django\template\loader.py, line 47, in select_template
Python Executable:
C:\Users\Yann\AppData\Local\Programs\Python\Python312\python.exe
Python Version:
3.12.1
Python Path:
['C:\\Pwd-H2024\\critiques_gastronomiques', 'C:\\Users\\Yann\\AppData\\Local\\Programs\\Python\\Python312\\python312.zip', 'C:\\Users\\Yann\\AppData\\Local\\Programs\\Python\\Python312\\DLLs', 'C:\\Users\\Yann\\AppData\\Local\\Programs\\Python\\Python312\\Lib', 'C:\\Users\\Yann\\AppData\\Local\\Programs\\Python\\Python312', 'C:\\Users\\Yann\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages']
Server time:
Sun, 12 May 2024 13:03:44 +0000
Template-loader postmortem

Django tried loading these templates, in this order:

Using engine django:

  • django.template.loaders.filesystem.Loader: C:\Pwd-H2024\critiques_gastronomiques\critique_gastronomiques\templates\usagers\login.html (Source does not exist)
  • django.template.loaders.filesystem.Loader: C:\Pwd-H2024\critiques_gastronomiques\restaurants\templates\usagers\login.html (Source does not exist)
  • django.template.loaders.app_directories.Loader: C:\Users\Yann\AppData\Local\Programs\Python\Python312\Lib\site-packages\django\contrib\admin\templates\usagers\login.html (Source does not exist)
  • django.template.loaders.app_directories.Loader: C:\Users\Yann\AppData\Local\Programs\Python\Python312\Lib\site-packages\django\contrib\auth\templates\usagers\login.html (Source does not exist)
  • django.template.loaders.app_directories.Loader: C:\Pwd-H2024\critiques_gastronomiques\restaurants\templates\usagers\login.html (Source does not exist)

Reply all
Reply to author
Forward
Message has been deleted
0 new messages