mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-30 18:09:59 +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:
|
||||
return False
|
||||
return True # self.throttle_success()
|
||||
return True
|
||||
|
||||
def throttle_success(self, request, view):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user