mirror of https://github.com/snachodog/mybuddy.git
lint
This commit is contained in:
parent
172167e6a1
commit
5f2c31c5e3
|
@ -103,7 +103,16 @@ class ChildSerializer(serializers.HyperlinkedModelSerializer):
|
||||||
class DiaperChangeSerializer(CoreModelSerializer):
|
class DiaperChangeSerializer(CoreModelSerializer):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = models.DiaperChange
|
model = models.DiaperChange
|
||||||
fields = ('id', 'child', 'time', 'wet', 'solid', 'color', 'amount', 'notes')
|
fields = (
|
||||||
|
'id',
|
||||||
|
'child',
|
||||||
|
'time',
|
||||||
|
'wet',
|
||||||
|
'solid',
|
||||||
|
'color',
|
||||||
|
'amount',
|
||||||
|
'notes'
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class FeedingSerializer(CoreModelWithDurationSerializer):
|
class FeedingSerializer(CoreModelWithDurationSerializer):
|
||||||
|
|
Loading…
Reference in New Issue