from rest_framework import serializers
from models import Profile

class UserSerializer(serializers.Serializer):
  username = serializers.CharField(max_length=100)
  password = serializers.CharField(max_length=100)

class SocialSerializer(serializers.ModelSerializer):
  class Meta:
    model = Profile
    exclude = ('user',)

57fc8d1289cde354a50918c7a633571743e902bb
<mask token>


class SocialSerializer(serializers.ModelSerializer):


    class Meta:
        model = Profile
        exclude = 'user',

<mask token>


class UserSerializer(serializers.Serializer):
    <mask token>
    <mask token>


class SocialSerializer(serializers.ModelSerializer):


    class Meta:
        model = Profile
        exclude = 'user',

<mask token>


class UserSerializer(serializers.Serializer):
    username = serializers.CharField(max_length=100)
    password = serializers.CharField(max_length=100)


class SocialSerializer(serializers.ModelSerializer):


    class Meta:
        model = Profile
        exclude = 'user',

from rest_framework import serializers
from models import Profile


class UserSerializer(serializers.Serializer):
    username = serializers.CharField(max_length=100)
    password = serializers.CharField(max_length=100)


class SocialSerializer(serializers.ModelSerializer):


    class Meta:
        model = Profile
        exclude = 'user',

from rest_framework import serializers
from models import Profile

class UserSerializer(serializers.Serializer):
  username = serializers.CharField(max_length=100)
  password = serializers.CharField(max_length=100)

class SocialSerializer(serializers.ModelSerializer):
  class Meta:
    model = Profile
    exclude = ('user',)
