Doc refactor

Clean up docs + add a fix for django cache tests.