aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rest_framework/throttling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/throttling.py b/rest_framework/throttling.py
index 56023bda..c36b58bf 100644
--- a/rest_framework/throttling.py
+++ b/rest_framework/throttling.py
@@ -156,7 +156,7 @@ class AnonRateThrottle(SimpleRateThrottle):
if ident is None:
ident = request.META.get('REMOTE_ADDR')
else:
- ident = u''.join(ident.split())
+ ident = ''.join(ident.split())
return self.cache_format % {
'scope': self.scope,