Django REST POST and GET different throttle scopes

Viewed 1742

I have django-rest view class Photo with get and post methods and I want to allow users to make one POST photo upload an hour and 1000 GET photo requests in minute. By default I can set throttle_scope for all APIView (both get and post).

How to perform it? Create two different views with different scopes?

Thanks.

1 Answers
Related