diff --git a/rest_framework/throttling.py b/rest_framework/throttling.py index 3587d13dc..92bb9cd1c 100644 --- a/rest_framework/throttling.py +++ b/rest_framework/throttling.py @@ -5,9 +5,10 @@ import time from django.core.cache import cache as default_cache from django.core.exceptions import ImproperlyConfigured -from rest_framework.utils.throttling_duration_parser import parse_quantity_and_unit - from rest_framework.settings import api_settings +from rest_framework.utils.throttling_duration_parser import ( + parse_quantity_and_unit +) class BaseThrottle: