Fixing for django-redis 3.5.0