Skip to content

Add @throttle_scope function based view decorator#9963

Open
d-ryzhykau wants to merge 5 commits into
encode:mainfrom
d-ryzhykau:throttle_scope-decorator
Open

Add @throttle_scope function based view decorator#9963
d-ryzhykau wants to merge 5 commits into
encode:mainfrom
d-ryzhykau:throttle_scope-decorator

Conversation

@d-ryzhykau

Copy link
Copy Markdown

The new decorator allows to set throttle scope for function based views. The implementation was suggested in #9942.

The change includes a test for the new decorator and mention of it in the docs.

@d-ryzhykau
d-ryzhykau marked this pull request as draft April 24, 2026 00:49
@d-ryzhykau
d-ryzhykau force-pushed the throttle_scope-decorator branch from f80dcb4 to 0513735 Compare April 24, 2026 01:44
@d-ryzhykau
d-ryzhykau marked this pull request as ready for review April 24, 2026 01:49
Comment thread docs/api-guide/views.md
Comment thread tests/test_decorators.py
@browniebroke browniebroke added this to the 3.18 milestone Apr 24, 2026
@auvipy
auvipy self-requested a review May 10, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants