Python, Django, Django Rest Framework, Backend, Programming.
import APIView from rest_framework.response import Response from rest_framework import viewsets, status from django.contrib.auth import authenticate, login from rest_framework_simplejwt.tokens import RefreshToken import random from django.core.exceptions import ObjectDoesNotExist from .models