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.
[最佳實踐]瞭解 Eolinker 如何助力遠程辦公
2.
katalon studio 安裝教程
3.
精通hibernate(harness hibernate oreilly)中的一個」錯誤「
4.
ECharts立體圓柱型
5.
零拷貝總結
6.
6 傳輸層
7.
Github協作圖想
8.
Cannot load 32-bit SWT libraries on 64-bit JVM
9.
IntelliJ IDEA 找其歷史版本
10.
Unity3D(二)遊戲對象及組件
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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
>>更多相關文章<<