from rest_framework import serializers from django.contrib.auth import authenticate from .models import User