from rest_framework import serializers
from accounts.models import CustomUser


class UserDisplaySerializer(serializers.ModelSerializer):
    class Meta:
        model = CustomUser
        fields = ["username"]

from rest_framework import serializers
from accounts.models import CustomUser


class UserDisplaySerializer(serializers.ModelSerializer):
    class Meta:
        model = CustomUser
        fields = ["username"]
