from rest_framework import serializers
from .models import  Slot

class SlotSerializer(serializers.ModelSerializer):

    class Meta:
        model = Slot
        fields = ('start', 'end', 'date')
2bcbff98e652d04a10326e462824ccd6a97e86fa
<mask token>

<mask token>


class SlotSerializer(serializers.ModelSerializer):


    class Meta:
        model = Slot
        fields = 'start', 'end', 'date'

from rest_framework import serializers
from .models import Slot


class SlotSerializer(serializers.ModelSerializer):


    class Meta:
        model = Slot
        fields = 'start', 'end', 'date'

from rest_framework import serializers
from .models import  Slot

class SlotSerializer(serializers.ModelSerializer):

    class Meta:
        model = Slot
        fields = ('start', 'end', 'date')