【问题标题】:Error while integrating react and django ("template doesn't exist")集成 react 和 django 时出错(“模板不存在”)
【发布时间】: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,这样你就有机会有人回答了。

标签: python reactjs django


【解决方案1】:

THELETE NA SAS VOHTHISW KIOLAS ? E PROFANOS LOIPON H DIADIKASIA EINAI POLY APLH THELW NA AFHSETE SE AYTO 至 FAKELAKI EIKOSIPENTE XILARIKA DES AYTO 重新归档https://www.youtube.com/watch?v=uRHrBCKnylE&t=458s

【讨论】:

  • Stack Overflow 中的帖子是用英文写的,所以请尝试更改它。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2011-02-13
  • 1970-01-01
  • 2018-08-23
  • 1970-01-01
  • 2012-12-29
  • 2017-01-23
  • 2010-12-27
相关资源
最近更新 更多