会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
mqhpyh
博客园
首页
新随笔
联系
订阅
管理
2020年10月30日
python类装饰器
摘要: Django 类视图中的method_decorator 三种使用方法 首先导入 from django.utils.decorators import method_decorator 。 method_decorator 是将函数装饰器转换成方法装饰器。 方法一: @method_decorat
阅读全文
posted @ 2020-10-30 16:49 MiaoQinHong
阅读(203)
评论(0)
推荐(0)
编辑
公告