Django middleware to add country code information to requests using redis.