在对应视图中添加如下代码即可
# 实现当前用户显示自己所创建的数据集合
def get_queryset(self):
user = self.request.user
if user.is_superuser:
queryset = PublishRelease.objects.all()
else:
queryset = PublishRelease.objects.filter(creator=user)
return queryset