mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 04:02:35 +03:00
fixing the api view
This commit is contained in:
parent
9becb0ed53
commit
e4a8a1e08b
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user