jsocol/django-ratelimit

Documentation for custom get_usage / is_rate_limited needed.

Open

#309 ouverte le 13 nov. 2023

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)Python (180 forks)batch import
help wanted

Métriques du dépôt

Stars
 (904 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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?

Guide contributeur