DRF_Template/backend/accounts/views.py
2024-01-06 12:13:39 +08:00

5 lines
229 B
Python

from rest_framework.permissions import IsAuthenticated
from rest_framework import generics
from accounts.serializers import CustomUserSerializer
from rest_framework.response import Response
from accounts.models import CustomUser