from rest_framework import serializers
from woeip.apps.core.models import User


class UserSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = User
        fields = ["username", "first_name", "last_name", "email"]

from rest_framework import serializers
from woeip.apps.core.models import User


class UserSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = User
        fields = ["username", "first_name", "last_name", "email"]
