fix:edu 增加用户ID
This commit is contained in:
parent
88a25232d8
commit
6694a4f0d6
|
@ -639,7 +639,7 @@ class ExamRecordViewSet(ListModelMixin, DestroyModelMixin, RetrieveModelMixin, G
|
|||
now_data = datetime.now()
|
||||
course = exam.course_name.all()
|
||||
courese_ids = [i.id for i in course]
|
||||
current_date = now_data.strftime('%Y%m%d')
|
||||
current_date = now_data.strftime('%Y%m%d')
|
||||
data_dict = {
|
||||
'姓名': request.user.name,
|
||||
'用户ID': request.user,
|
||||
|
|
Loading…
Reference in New Issue