jsocol/django-ratelimit

Documentation for custom get_usage / is_rate_limited needed.

Open

#309 aperta il 13 nov 2023

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)Python (180 fork)batch import
help wanted

Metriche repository

Star
 (904 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor