<reponame>dominicneeraj/Technex_api
from rest_framework import serializers

from Token.models import Word


class WordSerializer(serializers.ModelSerializer):
    class Meta:
        model = Word
        fields = ['code']
from rest_framework import serializers

from Token.models import Word


class WordSerializer(serializers.ModelSerializer):
    class Meta:
        model = Word
        fields = ['code']