Fixing for django-redis 3.5.0

Updating master branch.