diff options
| author | Tom Christie | 2013-01-28 07:37:15 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-01-28 07:37:15 +0000 |
| commit | 99ef0bcad994ba472882cd67a5c7d8c9b77554bf (patch) | |
| tree | ee8cf64fbdd3f4e588e778dbb65502d82328c6f3 /docs | |
| parent | e649f2ec61a51beddf56132b3f9fa0a3d4fe086b (diff) | |
| download | django-rest-framework-99ef0bcad994ba472882cd67a5c7d8c9b77554bf.tar.bz2 | |
Tweak description of example throttle.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api-guide/throttling.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/throttling.md b/docs/api-guide/throttling.md index 86b1fe8d..923593bc 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): |
