Skip to content

Commit

Permalink
Nothing to see here!
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamgilbert committed Oct 14, 2015
1 parent 97badc1 commit f244b1e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class InventoryItemSerializer(serializers.ModelSerializer):
class Meta:
model = InventoryItem
exclude = ('machine')
exclude = ('machine',)

class BusinessUnitSerializer(serializers.ModelSerializer):
class Meta:
Expand All @@ -20,23 +20,23 @@ class Meta:
class FactSerializer(serializers.ModelSerializer):
class Meta:
model = Fact
exclude = ('machine')
exclude = ('machine',)

class ConditionSerializer(serializers.ModelSerializer):
class Meta:
model = Condition
exclude = ('machine')
exclude = ('machine',)


class PendingAppleUpdateSerializer(serializers.ModelSerializer):
class Meta:
model = PendingAppleUpdate
exclude = ('machine')
exclude = ('machine',)

class PendingUpdateSerializer(serializers.ModelSerializer):
class Meta:
model = PendingUpdate
exclude = ('machine')
exclude = ('machine',)

class MachineSerializer(serializers.ModelSerializer):
facts = FactSerializer(many=True, required=False)
Expand Down

0 comments on commit f244b1e

Please sign in to comment.