mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
s/throtte/throttle/
This commit is contained in:
parent
b519018125
commit
f8376910f4
|
@ -41,7 +41,7 @@ class SimpleRateThrottle(BaseThrottle):
|
|||
|
||||
cache = default_cache
|
||||
timer = time.time
|
||||
cache_format = 'throtte_%(scope)s_%(ident)s'
|
||||
cache_format = 'throttle_%(scope)s_%(ident)s'
|
||||
scope = None
|
||||
THROTTLE_RATES = api_settings.DEFAULT_THROTTLE_RATES
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user