Fix typo in docstring (#5678)

This commit is contained in:
Pavlin Gergov 2017-12-19 09:45:33 +02:00 committed by Carlton Gibson
parent d12005cf90
commit 21a9740156

View File

@ -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')