from .models import Users
from rest_framework import serializers


class UserSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = Users
        fields = ('id', 'first_name', 'last_name', 'email', 'birth_date')

8c6e32449205216a6b72e1ec34bffd46bc26eba9
<mask token>

<mask token>


class UserSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Users
        fields = 'id', 'first_name', 'last_name', 'email', 'birth_date'

from .models import Users
from rest_framework import serializers


class UserSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Users
        fields = 'id', 'first_name', 'last_name', 'email', 'birth_date'

from .models import Users
from rest_framework import serializers


class UserSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = Users
        fields = ('id', 'first_name', 'last_name', 'email', 'birth_date')
