mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-01 11:00:13 +03:00
Removed comments
This commit is contained in:
parent
914a910359
commit
f36fb37218
|
@ -132,7 +132,7 @@ class SimpleRateThrottle(BaseThrottle):
|
||||||
|
|
||||||
if len(self.history) >= self.num_requests:
|
if len(self.history) >= self.num_requests:
|
||||||
return False
|
return False
|
||||||
return True # self.throttle_success()
|
return True
|
||||||
|
|
||||||
def throttle_success(self, request, view):
|
def throttle_success(self, request, view):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user