JavaShuo
栏目
标签
windows中使用django时报错:A server error occurred. Please contact the administrator.
时间 2021-01-02
栏目
Windows
繁體版
原文
原文链接
这是因为在视图函数中使用了get函数,获取了不存在的数据 例如:数据库中不存在一条name为hello1的数据,使用如下语句访问 message = Message.objects.get(name='hello1') 就会报错 message = Message.objects.get(name='boddy1') 解决方法: 见下图: 点击上图框中的链接后,自动进入debug.py文件的
>>阅读原文<<
相关文章
1.
windows中使用django时报错:A server error occurred. Please contact the administrator.
2.
Django - A server error occurred. Please contact the administrator
3.
A server error occurred. Please contact the administrator.
4.
Error:An internal error occurred,please contact your system administrator
5.
An error occurred on the server when processing the URL. Please contact the system administrator解决
6.
Failed to upload report - An error has occurred. Please contact your administrator
7.
解决方法:An error occurred on the server when processing the URL. Please contact the system administrato...
8.
sonar扫描时报Failed to upload report - An error has occurred. Please contact your administrator
9.
lDEA报错Error: A JNI error has occurred, please check your installation and try again
10.
PHP在curl_exec时使用xdebug卡主,报错Internal Server Error
更多相关文章...
•
在Spring中使用Redis
-
Redis教程
•
Redis中使用Lua语言
-
Redis教程
•
Composer 安装与使用
•
RxJava操作符(五)Error Handling
相关标签/搜索
occurred
contact
administrator
使用报告
error
错报
报错
时报
报时
用错
Python
Windows
Redis教程
MySQL教程
Spring教程
应用
注册中心
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
JDK JRE JVM,JDK卸载与安装
2.
Unity NavMeshComponents 学习小结
3.
Unity技术分享连载(64)|Shader Variant Collection|Material.SetPassFast
4.
为什么那么多人用“ji32k7au4a83”作密码?
5.
关于Vigenere爆0总结
6.
图论算法之最小生成树(Krim、Kruskal)
7.
最小生成树 简单入门
8.
POJ 3165 Traveling Trio 笔记
9.
你的快递最远去到哪里呢
10.
云徙探险中台赛道:借道云原生,寻找“最优路线”
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
windows中使用django时报错:A server error occurred. Please contact the administrator.
2.
Django - A server error occurred. Please contact the administrator
3.
A server error occurred. Please contact the administrator.
4.
Error:An internal error occurred,please contact your system administrator
5.
An error occurred on the server when processing the URL. Please contact the system administrator解决
6.
Failed to upload report - An error has occurred. Please contact your administrator
7.
解决方法:An error occurred on the server when processing the URL. Please contact the system administrato...
8.
sonar扫描时报Failed to upload report - An error has occurred. Please contact your administrator
9.
lDEA报错Error: A JNI error has occurred, please check your installation and try again
10.
PHP在curl_exec时使用xdebug卡主,报错Internal Server Error
>>更多相关文章<<