mirror of https://github.com/snachodog/mybuddy.git
modified pumping serializer for start/end
This commit is contained in:
parent
b0e5a7ad1b
commit
63f8a3cd7d
|
@ -120,7 +120,7 @@ class BMISerializer(CoreModelSerializer, TaggableSerializer):
|
|||
class PumpingSerializer(CoreModelSerializer, TaggableSerializer):
|
||||
class Meta:
|
||||
model = models.Pumping
|
||||
fields = ("id", "child", "amount", "time", "notes", "tags")
|
||||
fields = ("id", "child", "amount", "start", "end", "duration", "notes", "tags")
|
||||
|
||||
|
||||
class ChildSerializer(serializers.HyperlinkedModelSerializer):
|
||||
|
|
Loading…
Reference in New Issue