【发布时间】:2022-07-31 18:18:41
【问题描述】:
我是 django 的新手。在关注了一个关于集成 react 和 django 的 youtube 视频后,出现以下错误:
TemplateDoesNotExist at /
index.html
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 3.2.4
Exception Type: TemplateDoesNotExist
Exception Value:
index.html
Exception Location: /home/saurav/.local/lib/python3.8/site-packages/django/template/loader.py, line 47, in select_template
Python Executable: /usr/bin/python3
Python Version: 3.8.10
Python Path:
['/home/saurav/Desktop/Globle Project/django project/Navigator',
'/usr/lib/python38.zip',
'/usr/lib/python3.8',
'/usr/lib/python3.8/lib-dynload',
'/home/saurav/.local/lib/python3.8/site-packages',
'/usr/local/lib/python3.8/dist-packages',
'/usr/lib/python3/dist-packages']
Server time: Sun, 31 Jul 2022 06:54:31 +0000
【问题讨论】:
-
看看我如何问一个好问题How to Ask,这样你就有机会有人回答了。