6 lines
114 B
Python
6 lines
114 B
Python
from rest_framework import throttling
|
|
|
|
|
|
class BurstRateThrottle(throttling.UserRateThrottle):
|
|
scope = "burst"
|