SimpleRateThrottle Docstring #8143
Unanswered
juanbeniteza
asked this question in
General
Replies: 1 comment 1 reply
-
Yes, having had a look myself that seems like a good catch. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to implement some throttles for my API, I will like to use the

SimpleRateThrottle
class but with different rates per view. I read in the docs thisI suppose this means that we can set the

rate
attribute on the View and we can customize the rates per view, something likeOf course, this doesn't work, I'm getting an
ImproperlyConfigured
exception and this is because the implementation expects therate
to be an attribute of theSimpleRateThrottle
class.My question here is, shouldn't the docs say this instead of saying that
rate
is an attribute on View class?Beta Was this translation helpful? Give feedback.
All reactions