Fix 2.6 compatibility.
Fix 2.6 compatibility.

maikelwever/django-redis-cache,chripede/django-redis-cache,maikelwever/django-redis-cache,chripede/django-redis-cache,carltongibson/django-redis-cache,carltongibson/django-redis-cache