fixing the api view

This commit is contained in:
Pravin Kamble 2023-08-21 00:29:02 +05:30
parent 9becb0ed53
commit e4a8a1e08b

View File

@ -17,10 +17,10 @@ from rest_framework.throttling import (
AnonRateThrottle, BaseThrottle, ScopedRateThrottle, SimpleRateThrottle,
UserRateThrottle
)
from rest_framework.views import APIView
from rest_framework.utils.throttling_duration_parser import (
parse_quantity_and_unit
)
from rest_framework.views import APIView
class User3SecRateThrottle(UserRateThrottle):