Commit 5e433684 by tuky

Update throttling.py

python 3 u'' gone
parent d18d3266
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment