This commit is contained in:
jcgoette 2021-02-09 14:04:35 -05:00 committed by Christopher Charbonneau Wells
parent 172167e6a1
commit 5f2c31c5e3
1 changed files with 10 additions and 1 deletions

View File

@ -103,7 +103,16 @@ class ChildSerializer(serializers.HyperlinkedModelSerializer):
class DiaperChangeSerializer(CoreModelSerializer):
class Meta:
model = models.DiaperChange
fields = ('id', 'child', 'time', 'wet', 'solid', 'color', 'amount', 'notes')
fields = (
'id',
'child',
'time',
'wet',
'solid',
'color',
'amount',
'notes'
)
class FeedingSerializer(CoreModelWithDurationSerializer):