from announcements.models import Announcement
from rest_framework import serializers


class AnnouncementSerializer(serializers.ModelSerializer):
    class Meta:
        model = Announcement
        fields = ["title", "day", "time", "channel", "message"]

d58b6afcbe5999724a027b1a26bc0b120d9cf860
<mask token>

<mask token>


class AnnouncementSerializer(serializers.ModelSerializer):


    class Meta:
        model = Announcement
        fields = ['title', 'day', 'time', 'channel', 'message']

from announcements.models import Announcement
from rest_framework import serializers


class AnnouncementSerializer(serializers.ModelSerializer):


    class Meta:
        model = Announcement
        fields = ['title', 'day', 'time', 'channel', 'message']

from announcements.models import Announcement
from rest_framework import serializers


class AnnouncementSerializer(serializers.ModelSerializer):
    class Meta:
        model = Announcement
        fields = ["title", "day", "time", "channel", "message"]
