开发者

Django admin exclude filter

I'm looking for a way to implement exclude filter in django admin list view.

The case is the following: In django admin I have a list of model instances, and I need to be able to show only instances that does not belong to s开发者_开发百科ome user for example (the user is the FK in the described model)

Is there any solution for this case?


You can always make your own filter. See an example here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜