会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
吴之家
博客园
首页
新随笔
新文章
联系
订阅
管理
2018年11月26日
Django框架之中间件与Auth
摘要: Django框架之中间件与Auth模块一 cbv加装饰器 -先导入:from django.utils.decorators import method_decorator -1 可以在方法上加装饰器: @method_decorator(login_auth) -2 可以在类上加 @method_
阅读全文
posted @ 2018-11-26 16:41 吴之家
阅读(105)
评论(0)
推荐(0)
编辑