jsocol/django-ratelimit

Documentation for custom get_usage / is_rate_limited needed.

Open

#309 opened on Nov 13, 2023

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Python (180 forks)batch import
help wanted

Repository metrics

Stars
 (904 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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?

Contributor guide