from rest_framework import serializers

from api.models import Recipe


class RecipeSerializer(serializers.ModelSerializer):
    class Meta:
        model = Recipe
        exclude = ('id', 'user',)

6369ac8bd811432f2ee92846d7d32318fe6d0e60
<mask token>

<mask token>


class RecipeSerializer(serializers.ModelSerializer):


    class Meta:
        model = Recipe
        exclude = 'id', 'user'

from rest_framework import serializers
from api.models import Recipe


class RecipeSerializer(serializers.ModelSerializer):


    class Meta:
        model = Recipe
        exclude = 'id', 'user'

from rest_framework import serializers

from api.models import Recipe


class RecipeSerializer(serializers.ModelSerializer):
    class Meta:
        model = Recipe
        exclude = ('id', 'user',)
