From 99ef0bcad994ba472882cd67a5c7d8c9b77554bf Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 28 Jan 2013 07:37:15 +0000 Subject: [PATCH] Tweak description of example throttle. --- 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 86b1fe8d8..923593bcc 100644 --- a/docs/api-guide/throttling.md +++ b/docs/api-guide/throttling.md @@ -156,7 +156,7 @@ Optionally you may also override the `.wait()` method. If implemented, `.wait() ## Example -The following example will randomly throttle 1 in every 10 requests. +The following is an example of a rate throttle, that will randomly throttle 1 in every 10 requests. class RandomRateThrottle(throttles.BaseThrottle): def allow_request(self, request, view):