from rest_framework import serializers
from .models import Ingredient, Recipe

class IngredientSerializer(serializers.ModelSerializer):
	class Meta:
		model = Ingredient
		fields = "__all__"

class RecipeSerializer(serializers.ModelSerializer):
	class Meta:
		model = Recipe
		fields = "__all__"
