Skip to content

Commit

Permalink
Fix typo in docstring (encode#5678)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgergov authored and Pierre Chiquet committed Mar 24, 2020
1 parent 0fb36ca commit f0ed1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework/throttling.py
Expand Up @@ -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')
Expand Down

0 comments on commit f0ed1f1

Please sign in to comment.