diff --git a/rest_framework/throttling.py b/rest_framework/throttling.py index 4faecff35..df0d130df 100644 --- a/rest_framework/throttling.py +++ b/rest_framework/throttling.py @@ -18,7 +18,7 @@ class BaseThrottle(object): """ raise NotImplementedError('.allow_request() must be overridden') - def get_ident(self, request, **kwargs): + def get_ident(self, request): if 'HTTP_X_FORWARDED_FOR' in request.META: xff = request.META.get('HTTP_X_FORWARDED_FOR') return xff.split(',')[0].strip()