Possible Problem Throttle #9706
Unanswered
williank
asked this question in
Potential Issue
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
The text in the documentation suggests that we can use the attribute
throttle_classes=[UserRateThrottle]
In the decorator@action
, however, this does not seem to be true. Because the action decorator does not recognize thethrottle_classes
.I tested countless ways until I came to this conclusion.
https://www.django-rest-framework.org/api-guide/throttling/
Beta Was this translation helpful? Give feedback.
All reactions