Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xadmin登录是出现TemplateDoesNotExist #500

Closed
boomxy opened this issue Jan 5, 2018 · 5 comments
Closed

xadmin登录是出现TemplateDoesNotExist #500

boomxy opened this issue Jan 5, 2018 · 5 comments

Comments

@boomxy
Copy link

boomxy commented Jan 5, 2018

TemplateDoesNotExist at /xadmin/
xadmin/views/index.html

。。。

Template-loader postmortem

Django tried loading these templates, in this order:

Using engine django:
django.template.loaders.filesystem.Loader: <我的工作路径*-*>\templates\xadmin\views\index.html (Source does not exist)

@cupen
Copy link
Contributor

cupen commented Jan 11, 2018

那…… 这个路径存在不?

@boomxy
Copy link
Author

boomxy commented Jan 11, 2018

开始使用自带的admin登录,由于session的缘故不需要登录是可以进入管理页面的。退出后,重新登录,就出现了如上的情况,而且查找了一下...xadmin\views\index.html 发现views下是没有index页面的。

@boomxy boomxy closed this as completed Jan 11, 2018
@boomxy boomxy reopened this Jan 11, 2018
@cupen
Copy link
Contributor

cupen commented Jan 11, 2018

什么版本的? 有重现的例子不?

@boomxy
Copy link
Author

boomxy commented Jan 11, 2018

最新,仓库源码装的,在做项目,几天一直是那样,尝试新创建工程使用,还是一样的结果。
py 2.7.10 django==1.9.8 。 找了一个老的版本可以用了(因为做项目,为了不耽误时间-_-)

@cupen
Copy link
Contributor

cupen commented Jan 11, 2018

哦耶,那就完事大吉啦。
p.s. 没用过的版本一概帮不上。

@boomxy boomxy closed this as completed Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants