From e4a8a1e08b002bb55f34a9d28f378da2fe70d838 Mon Sep 17 00:00:00 2001 From: Pravin Kamble Date: Mon, 21 Aug 2023 00:29:02 +0530 Subject: [PATCH] fixing the api view --- tests/test_throttling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_throttling.py b/tests/test_throttling.py index 030e40acb..315ffc575 100644 --- a/tests/test_throttling.py +++ b/tests/test_throttling.py @@ -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):