This commit is contained in:
Jon Plaut 2018-10-02 16:33:01 +00:00 committed by GitHub
commit 9e8f37d449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ The default throttling policy may be set globally, using the `DEFAULT_THROTTLE_C
}
}
The rate descriptions used in `DEFAULT_THROTTLE_RATES` may include `second`, `minute`, `hour` or `day` as the throttle period.
The rate descriptions used in `DEFAULT_THROTTLE_RATES` may be any of the following: 's', 'sec', 'm', 'min', 'h', 'hour', 'd', 'day'.
You can also set the throttling policy on a per-view or per-viewset basis,
using the `APIView` class-based views.