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.
Appium入門
2.
Spring WebFlux 源碼分析(2)-Netty 服務器啓動服務流程 --TBD
3.
wxpython入門第六步(高級組件)
4.
CentOS7.5安裝SVN和可視化管理工具iF.SVNAdmin
5.
jedis 3.0.1中JedisPoolConfig對象缺少setMaxIdle、setMaxWaitMillis等方法,問題記錄
6.
一步一圖一代碼,一定要讓你真正徹底明白紅黑樹
7.
2018-04-12—(重點)源碼角度分析Handler運行原理
8.
Spring AOP源碼詳細解析
9.
Spring Cloud(1)
10.
python簡單爬去油價信息發送到公衆號
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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
>>更多相關文章<<