摘要: 应用需求: 设置好用户的权限之后, 用户登录后台之后,需要根据用户的权限,用户属于哪个组,显示哪些成员。 并且进入用户编辑页面之后, 设置显示用户的字段和字段显示方式 class MyUserAdmin(UserAdmin): def get_queryset(self, request): //通 阅读全文
posted @ 2017-09-14 11:52 frank_chenhuan 阅读(1493) 评论(0) 推荐(0) 编辑