<gh_stars>1-10
from rest_framework.serializers import ModelSerializer

from .models import Game


class GameSerializer(ModelSerializer):
    class Meta:
        model = Game
        fields = (
            "name",
        )

from rest_framework.serializers import ModelSerializer

from .models import Game


class GameSerializer(ModelSerializer):
    class Meta:
        model = Game
        fields = (
            "name",
        )