Page Not Found 404,启动项目时项目的模板有误
来源:4-5 删改部分文件完成项目初始模板

慕盖茨8518718
2022-03-21
我按照您的各种包的版本配好了一样的环境,也导入了您的开发模板,启动的时候报了模板的错误,运行起来是PageNotFound 404.
警告信息:
?: (debug_toolbar.W006) At least one DjangoTemplates TEMPLATES configuration needs to have APP_DIRS set to True.
HINT: Use APP_DIRS=True for at least one django.template.backends.django.DjangoTemplates backend configuration.
写回答
1回答
-
Jack
2022-03-24
找到了 HINT: Use APP_DIRS=True for at least one django.template.backends.django.DjangoTemplates backend configuration.
搜索一下你base.py文件中的APP_DIRS,是不是项目文件夹的路径配置不对
012022-03-24
相似问题