def get_queryset(self, request):
qs = super().get_queryset(request)
# todo
return qs
def save_model(self, request, obj, form, change):
# todo
# obj.author = request.user
super().save_model(request, obj, form, change)
网友评论