From f60c0e99f6121099ec78745e8169c1e6c8ab0667 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 1 Oct 2015 14:25:04 +0700 Subject: [PATCH] Small doc typo `throttles` --> `throttling` --- docs/api-guide/throttling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/throttling.md b/docs/api-guide/throttling.md index 57bce54e7..36753aafc 100644 --- a/docs/api-guide/throttling.md +++ b/docs/api-guide/throttling.md @@ -184,7 +184,7 @@ If the `.wait()` method is implemented and the request is throttled, then a `Ret The following is an example of a rate throttle, that will randomly throttle 1 in every 10 requests. - class RandomRateThrottle(throttles.BaseThrottle): + class RandomRateThrottle(throttling.BaseThrottle): def allow_request(self, request, view): return random.randint(1, 10) == 1