fix: 修改bug

This commit is contained in:
zty 2024-05-29 09:37:56 +08:00
parent 6e429e5619
commit 62f8831894
1 changed files with 0 additions and 1 deletions

View File

@ -260,7 +260,6 @@ class PaperViewSet(ModelViewSet):
sr = PaperCreateUpdateSerializer(instance=paper, data=request.data)
sr.is_valid(raise_exception=True)
vdata = sr.validated_data
print(vdata, 'QQQ')
questions_ = vdata.pop('questions_')
print(questions_, '')
vdata['update_by'] = request.user