📅  最后修改于: 2022-03-11 14:50:03.795000             🧑  作者: Mango
#change:
def has_add_permission(self, request):
return False
#to:
def has_add_permission(self, request, obj=None):
return False