Skip to content

Commit cb206e4

Browse files
authored
fix: change View class to Throttle class on SimpleRateThrottle Docstring (#8147)
1 parent 4632b5d commit cb206e4

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
@@ -52,7 +52,7 @@ class SimpleRateThrottle(BaseThrottle):
5252
A simple cache implementation, that only requires `.get_cache_key()`
5353
to be overridden.
5454
55-
The rate (requests / seconds) is set by a `rate` attribute on the View
55+
The rate (requests / seconds) is set by a `rate` attribute on the Throttle
5656
class. The attribute is a string of the form 'number_of_requests/period'.
5757
5858
Period should be one of: ('s', 'sec', 'm', 'min', 'h', 'hour', 'd', 'day')

0 commit comments

Comments
 (0)