We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug描述 简单的描述下遇到的bug: 在admin.py中重写get_actions,想通过判断用户控制权限,重写方法后前端只显示"增加"和"保存"的按钮
重现步骤 1.在admin.py中重写 def getactions()方法 2.print actions的数据后台正常为定义好的数据 3.前端只显示"增加"、"保存"按钮
环境
1.操作系统: 2.python版本:3.5 3.django版本:2.0 4.simpleui版本:2.1.4
其他描述 建议添加:自定义按钮可以设置到权限表中 或者可以通过getactions 反馈到前端
The text was updated successfully, but these errors were encountered:
#100 fix bug
2ddd90b
825a3a4
No branches or pull requests
bug描述
简单的描述下遇到的bug:
在admin.py中重写get_actions,想通过判断用户控制权限,重写方法后前端只显示"增加"和"保存"的按钮
重现步骤
1.在admin.py中重写 def getactions()方法
2.print actions的数据后台正常为定义好的数据
3.前端只显示"增加"、"保存"按钮
环境
1.操作系统:
2.python版本:3.5
3.django版本:2.0
4.simpleui版本:2.1.4
其他描述
建议添加:自定义按钮可以设置到权限表中 或者可以通过getactions 反馈到前端
The text was updated successfully, but these errors were encountered: