mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 12:12:19 +03:00
adding tests
This commit is contained in:
parent
71289fff0d
commit
decd4b83e1
|
@ -18,7 +18,7 @@ from rest_framework.throttling import (
|
||||||
UserRateThrottle
|
UserRateThrottle
|
||||||
)
|
)
|
||||||
from rest_framework.views import APIView
|
from rest_framework.views import APIView
|
||||||
from utils.throttling_duration_parser import parse_quantity_and_unit
|
from rest_framework.utils.throttling_duration_parser import parse_quantity_and_unit
|
||||||
|
|
||||||
|
|
||||||
class User3SecRateThrottle(UserRateThrottle):
|
class User3SecRateThrottle(UserRateThrottle):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user