195 Unstar Star 869 Fork 241

Jingle / simpleui

使用django-guardian对象级别权限管理后,“对象权限”按钮和页面不美观

Open
徐亮亮  Opened this issue
# admin.py

from django.contrib import admin
from guardian.admin import GuardedModelAdmin

from users.models import UserInfo

@admin.register(UserInfo)
class UserInfoAdmin(GuardedModelAdmin):
    pass

输入图片说明

输入图片说明

5087512 brightxu 1578979959 total 1 participants

Comments (0)

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Python
1
https://gitee.com/tompeppa/simpleui.git
git@gitee.com:tompeppa/simpleui.git
tompeppa
simpleui
simpleui

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542