会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Sherwin
首页
管理
随笔 - 141
文章 - 0
评论 - 0
阅读 -
8056
02 2023 档案
自定义错误返回
摘要:settings REST_FRAMEWORK = { # 自定义错误返回 "EXCEPTION_HANDLER": "utils.handler.exception_handler", } exceptions(重写错误类) from rest_framework import status fr
阅读全文
posted @
2023-02-27 17:09
Sherwin_szw
阅读(27)
评论(0)
推荐(0)
编辑
<
2025年2月
>
日
一
二
三
四
五
六
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
1
2
3
4
5
6
7
8
搜索
最新随笔
1.csrf问题
2.缓存
3.Django4中的日志管理
4.ModelForm
5.Form组件
6.Session
7.Cookie
8.中间件
9.视图相关
10.路由相关
积分与排名
积分 - 8051
排名 - 137638
随笔分类
(147)
django(41)
drf(47)
python(11)
vue(48)
随笔档案
(141)
2024年9月(15)
2023年5月(4)
2023年4月(5)
2023年3月(4)
2023年2月(1)
2022年12月(4)
2022年11月(21)
2022年10月(51)
2022年9月(36)
更多
阅读排行榜
1. vue3-cookies(795)
2. 全局引入element-plus/icons-vue(757)
3. centos 安装 python(733)
4. 常见python gitignore(644)
5. CentOS7 安装git 配置秘钥公钥克隆代码(266)
点击右上角即可分享
🚀
回顶
➕
展开
➖
收起
1
404 not found
REOL
404 not found
- REOL
00:00
/
00:00
An audio error has occurred.