Skip to content

Commit 8637b3d

Browse files
authored
Improved description of allowed throttling rates (#9640)
1 parent 038670a commit 8637b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/throttling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The default throttling policy may be set globally, using the `DEFAULT_THROTTLE_C
4545
}
4646
}
4747

48-
The rate descriptions used in `DEFAULT_THROTTLE_RATES` may include `second`, `minute`, `hour` or `day` as the throttle period.
48+
The rates used in `DEFAULT_THROTTLE_RATES` can be specified over a period of second, minute, hour or day. The period must be specified after the `/` separator using `s`, `m`, `h` or `d`, respectively. For increased clarity, extended units such as `second`, `minute`, `hour`, `day` or even abbreviations like `sec`, `min`, `hr` are allowed, as only the first character is relevant to identify the rate.
4949

5050
You can also set the throttling policy on a per-view or per-viewset basis,
5151
using the `APIView` class-based views.

0 commit comments

Comments
 (0)