Python, Django, Django Rest Framework, Backend, Programming.
‘views.py’: from .utils import send_otp import datetime from django.utils import timezone from rest_framework.permissions import BasePermission,AllowAny, IsAuthenticated from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import viewsets, status