django-rest-auth icon indicating copy to clipboard operation
django-rest-auth copied to clipboard

Rate Limiting / Throttle Classes

Open steverecio opened this issue 5 years ago • 1 comments

I saw an old PR was reverted that added support for rate limiting. It seems the suggested solution is to subclass each view but that seems unnecessary to me. Can we not pass in a throttle class in our settings and inject that into all rest-auth views?

steverecio avatar Nov 27 '19 17:11 steverecio

Hi,

this repo is not maintained anymore, so the development moved to dj-rest-auth. (reference: #568) It may be best, if you move this PR there. (and upgrade to using dj_rest_auth)

new repo link: https://github.com/jazzband/dj-rest-auth (I'm not the upkeeper of that repo, it just makes sense for me to help you write where it brings value.)

Best, Barney

BarnabasSzabolcs avatar May 30 '20 01:05 BarnabasSzabolcs