From b8a9ca378204257fe4ed4302dbef457e6643cbc8 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sun, 4 Feb 2024 16:10:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0drainequip=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/enp/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/enp/serializers.py b/apps/enp/serializers.py index 3da481e9..ab8ab450 100644 --- a/apps/enp/serializers.py +++ b/apps/enp/serializers.py @@ -49,7 +49,7 @@ class DrainEquipEnvSerializer(CustomModelSerializer): source='equipment.name', read_only=True) equipment_envdata = serializers.SerializerMethodField() equipment_ = EquipmentSerializer(source='equipment', read_only=True) - # drain_ = DrainSerializer(source='drain', read_only=True) + drain_ = DrainSerializer(source='drain', read_only=True) def get_equipment_envdata(self, obj): now = timezone.now()