From b3e8e85e78536a40381e399120b1d829716b61b6 Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Wed, 10 Aug 2016 18:56:37 +0900 Subject: [PATCH] fix lint error --- rest_framework/throttling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/throttling.py b/rest_framework/throttling.py index 6d8b04f46..cd70e8660 100644 --- a/rest_framework/throttling.py +++ b/rest_framework/throttling.py @@ -118,7 +118,7 @@ class SimpleRateThrottle(BaseThrottle): """ if self.rate is None: return True - + if request.method == 'OPTIONS': return True