jsocol/django-ratelimit

Documentation for custom get_usage / is_rate_limited needed.

Open

#309 创建于 2023年11月13日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)Python (180 fork)batch import
help wanted

仓库指标

Star
 (904 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I am looking to do some conditional rate limiting , and I see the documentation about customizing get_usage and is_ratelimited. It' not clear how to use these methods after customization. Do you still call them using the decorator? Are there any examples?

贡献者指南