Skip to content

Commit 21a9740

Browse files
pgergovcarltongibson
authored andcommitted
Fix typo in docstring (#5678)
1 parent d12005c commit 21a9740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/throttling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class SimpleRateThrottle(BaseThrottle):
5454
A simple cache implementation, that only requires `.get_cache_key()`
5555
to be overridden.
5656
57-
The rate (requests / seconds) is set by a `throttle` attribute on the View
57+
The rate (requests / seconds) is set by a `rate` attribute on the View
5858
class. The attribute is a string of the form 'number_of_requests/period'.
5959
6060
Period should be one of: ('s', 'sec', 'm', 'min', 'h', 'hour', 'd', 'day')

0 commit comments

Comments
 (0)