mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 01:26:53 +03:00
Fix typo in docstring (#5678)
This commit is contained in:
parent
d12005cf90
commit
21a9740156
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user