jolpica / jolpica-f1

Apache License 2.0
41 stars 1 forks source link

Use DRF Throttles for ratelimiting #45

Closed jolpica closed 3 months ago

jolpica commented 3 months ago

This fixes a bug with authentication of ratelimiting.

Previously the ratelimit decorators were being called before the DRF authenticators, meaning authenticated requests were not getting higher request limits.