mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-01 11:00:13 +03:00
Merge fcc9f1f3ab
into c9d2bbcead
This commit is contained in:
commit
9e8f37d449
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user