是否可以覆盖Model.objects.all()方法?

时间:2011-07-29 08:42:16

标签: django

我想在调用MyModel.objects.all()方法时返回查询集的过滤版本。可以这样做吗?

1 个答案:

答案 0 :(得分:6)