From 327c6beab4c175a5d85a4033c53f42c6f5e6aee8 Mon Sep 17 00:00:00 2001 From: ibuler Date: Mon, 30 May 2022 16:20:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=81=87=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=9E=84=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/generate_fake_data/resources/terminal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/generate_fake_data/resources/terminal.py b/utils/generate_fake_data/resources/terminal.py index 481e98f6d..fde3cd267 100644 --- a/utils/generate_fake_data/resources/terminal.py +++ b/utils/generate_fake_data/resources/terminal.py @@ -47,6 +47,7 @@ class SessionGenerator(FakeDataGenerator): org_id=self.org.id, date_start=date_start, date_end=date_end, + is_finished=True ) objects.append(Session(**data)) creates = Session.objects.bulk_create(objects, ignore_conflicts=True)