<filename>MiniTwitter/MiniTwitter/serializer.py
from rest_framework import serializers

from .models import Tweet

class TweetModelSerializer(serializers.ModelSerializer):
    class Meta:
        model = Tweet
        fiels = ('author', 'content', 'likes')
<filename>MiniTwitter/MiniTwitter/serializer.py
from rest_framework import serializers

from .models import Tweet

class TweetModelSerializer(serializers.ModelSerializer):
    class Meta:
        model = Tweet
        fiels = ('author', 'content', 'likes')