modified pumping serializer for start/end

This commit is contained in:
John Merlie 2023-07-02 12:18:34 -04:00 committed by Christopher Charbonneau Wells
parent b0e5a7ad1b
commit 63f8a3cd7d
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class BMISerializer(CoreModelSerializer, TaggableSerializer):
class PumpingSerializer(CoreModelSerializer, TaggableSerializer): class PumpingSerializer(CoreModelSerializer, TaggableSerializer):
class Meta: class Meta:
model = models.Pumping model = models.Pumping
fields = ("id", "child", "amount", "time", "notes", "tags") fields = ("id", "child", "amount", "start", "end", "duration", "notes", "tags")
class ChildSerializer(serializers.HyperlinkedModelSerializer): class ChildSerializer(serializers.HyperlinkedModelSerializer):