From 9b69a3244b659721b3cd0ce7c67622caa1fed525 Mon Sep 17 00:00:00 2001 From: Pavlin Gergov Date: Mon, 18 Dec 2017 16:44:46 +0200 Subject: [PATCH] Fix typo in docstring --- rest_framework/throttling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/throttling.py b/rest_framework/throttling.py index 422431566..834ced148 100644 --- a/rest_framework/throttling.py +++ b/rest_framework/throttling.py @@ -54,7 +54,7 @@ class SimpleRateThrottle(BaseThrottle): A simple cache implementation, that only requires `.get_cache_key()` to be overridden. - The rate (requests / seconds) is set by a `throttle` attribute on the View + The rate (requests / seconds) is set by a `rate` attribute on the View class. The attribute is a string of the form 'number_of_requests/period'. Period should be one of: ('s', 'sec', 'm', 'min', 'h', 'hour', 'd', 'day')