-
Is it possible to rate-limit on the value of an arg/kwarg coming from the URL router? For instance, I have a view
(That's not real code, just an analog to what I have). The |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Aha! When using a callable, the second argument is the view object (at least, in the case of my CBV), and we can reference that. |
Beta Was this translation helpful? Give feedback.
-
Congrats! I guess the issue can be closed :) For future reference, you can ask questions here: https://github.com/jsocol/django-ratelimit/discussions |
Beta Was this translation helpful? Give feedback.
Aha! When using a callable, the second argument is the view object (at least, in the case of my CBV), and we can reference that.