Update throttling.py

python 3 u'' gone
This commit is contained in:
tuky 2014-02-14 13:47:17 +01:00
parent d18d32669a
commit 5e4336845f

View File

@ -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,