[已解决] 无法显示 非启用用户
-
今天遇到一个问题 设置-用户-用户 中 无法显示 非启用( active = False )的用户
谷歌了一下 只能添加默认过滤器 来解决这个"BUG" 留贴记录一下 具体方法如下:
设置->技术->用户界面->用户自定义过滤器 创建一条过滤器
模型:Users
默认过滤器: True
过滤条件: ['|',("active","=",False),("active","=",True)]
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login