from rest_framework import serializers
from .models import BraeburnApple

class AppleSerializer(serializers.ModelSerializer):
    class Meta:
        fields = ('id', 'image', 'added')
        model = BraeburnApple
30c489ea555a3640249f3ea493a42c6f7cbcd8f4
<mask token>

<mask token>


class AppleSerializer(serializers.ModelSerializer):


    class Meta:
        fields = 'id', 'image', 'added'
        model = BraeburnApple

from rest_framework import serializers
from .models import BraeburnApple


class AppleSerializer(serializers.ModelSerializer):


    class Meta:
        fields = 'id', 'image', 'added'
        model = BraeburnApple

from rest_framework import serializers
from .models import BraeburnApple

class AppleSerializer(serializers.ModelSerializer):
    class Meta:
        fields = ('id', 'image', 'added')
        model = BraeburnApple