aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/throttling.py
diff options
context:
space:
mode:
authortuky2014-02-14 13:47:17 +0100
committertuky2014-02-14 13:47:17 +0100
commit5e4336845fed97a819e69669ed7aa3b9bf443edb (patch)
tree6518541ea49c08188f57a398748ac20b00b604b4 /rest_framework/throttling.py
parentd18d32669ac47178f26409f149160dc2c0c5359c (diff)
downloaddjango-rest-framework-5e4336845fed97a819e69669ed7aa3b9bf443edb.tar.bz2
Update throttling.py
python 3 u'' gone
Diffstat (limited to 'rest_framework/throttling.py')
-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,