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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to implement some throttles for my API, I will like to use the

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

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