aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/throttling.py
diff options
context:
space:
mode:
authorTom Christie2014-08-20 12:32:24 +0100
committerTom Christie2014-08-20 12:32:24 +0100
commit59b47eac14778767a17e56bd8adc0610417f2878 (patch)
tree8e0a6ea2ca1381122dc3163d293aea121d32b330 /rest_framework/throttling.py
parent6ffc97c808f8026c063011e2d048604f3a6b70fa (diff)
downloaddjango-rest-framework-59b47eac14778767a17e56bd8adc0610417f2878.tar.bz2
Fix cache_throttle typo
Diffstat (limited to 'rest_framework/throttling.py')
-rw-r--r--rest_framework/throttling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/throttling.py b/rest_framework/throttling.py
index 7e9f9d71..361dbddf 100644
--- a/rest_framework/throttling.py
+++ b/rest_framework/throttling.py
@@ -60,7 +60,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