fix for django cache tests