diff options
| author | Tom Christie | 2014-08-20 12:32:24 +0100 |
|---|---|---|
| committer | Tom Christie | 2014-08-20 12:32:24 +0100 |
| commit | 59b47eac14778767a17e56bd8adc0610417f2878 (patch) | |
| tree | 8e0a6ea2ca1381122dc3163d293aea121d32b330 /rest_framework | |
| parent | 6ffc97c808f8026c063011e2d048604f3a6b70fa (diff) | |
| download | django-rest-framework-59b47eac14778767a17e56bd8adc0610417f2878.tar.bz2 | |
Fix cache_throttle typo
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/throttling.py | 2 |
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 |
