diff options
| author | tuky | 2014-02-14 13:47:17 +0100 | 
|---|---|---|
| committer | tuky | 2014-02-14 13:47:17 +0100 | 
| commit | 5e4336845fed97a819e69669ed7aa3b9bf443edb (patch) | |
| tree | 6518541ea49c08188f57a398748ac20b00b604b4 /rest_framework/throttling.py | |
| parent | d18d32669ac47178f26409f149160dc2c0c5359c (diff) | |
| download | django-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.py | 2 | 
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, | 
