from rest_framework.serializers import ModelSerializer

from google_keep.models import KeepUser


class KeepUserSerializer(ModelSerializer):
    class Meta:
        model = KeepUser
        fields = (
            'id', 'first_name', 'last_name', 'email', 'password', 'is_active'
        )
        read_only_fields = ('id',)

826a10cf787d0eb99503b7e294db5ef7dc4abc88
<mask token>

<mask token>


class KeepUserSerializer(ModelSerializer):


    class Meta:
        model = KeepUser
        fields = ('id', 'first_name', 'last_name', 'email', 'password',
            'is_active')
        read_only_fields = 'id',

from rest_framework.serializers import ModelSerializer
from google_keep.models import KeepUser


class KeepUserSerializer(ModelSerializer):


    class Meta:
        model = KeepUser
        fields = ('id', 'first_name', 'last_name', 'email', 'password',
            'is_active')
        read_only_fields = 'id',

from rest_framework.serializers import ModelSerializer

from google_keep.models import KeepUser


class KeepUserSerializer(ModelSerializer):
    class Meta:
        model = KeepUser
        fields = (
            'id', 'first_name', 'last_name', 'email', 'password', 'is_active'
        )
        read_only_fields = ('id',)
