def test_serializes(self):
    apple = self.food_model.objects.create(name='apple')
    serializers.serialize('json', (apple,))
def test_serializes(self):
    apple = self.food_model.objects.create(name='apple')
    serializers.serialize('json', (apple,))