import less deeply from django.core.cache so that django-debug-toolbar can monkey-patch it
show logging by default in tests
make namespace callable in the same way as the key arg for decorated functions and views