From 6694a4f0d65b7cbc45eb0f8006b2fb09e6c665ad Mon Sep 17 00:00:00 2001 From: zty Date: Thu, 6 Jun 2024 10:38:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:edu=20=E5=A2=9E=E5=8A=A0=E7=94=A8=E6=88=B7I?= =?UTF-8?q?D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/apps/exam/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/apps/exam/views.py b/server/apps/exam/views.py index f425400..e673192 100644 --- a/server/apps/exam/views.py +++ b/server/apps/exam/views.py @@ -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,