# coding:utf-8

from rest_framework import serializers
from databases.models import Token


class TokenSerializer(serializers.ModelSerializer):
    class Meta:
        model = Token
        fields = ('access_token', 'expires_in', 'expires_at', 'refresh_token')

7933cabd0282d6aeb40cb7559db7f03660d52143
<mask token>

<mask token>


class TokenSerializer(serializers.ModelSerializer):


    class Meta:
        model = Token
        fields = 'access_token', 'expires_in', 'expires_at', 'refresh_token'

from rest_framework import serializers
from databases.models import Token


class TokenSerializer(serializers.ModelSerializer):


    class Meta:
        model = Token
        fields = 'access_token', 'expires_in', 'expires_at', 'refresh_token'

# coding:utf-8

from rest_framework import serializers
from databases.models import Token


class TokenSerializer(serializers.ModelSerializer):
    class Meta:
        model = Token
        fields = ('access_token', 'expires_in', 'expires_at', 'refresh_token')
