Django compatibility: Fixes to account for caching and misc tweaks

This commit contains the tweaks I needed to make to get this result on my vagrant VM:

```
vagrant@developer-local:/vagrant$ clear; ./manage.py test actioncounters contentflagging dashboards demos devmo kpi landing users wiki --failfast

...

Ran 511 tests in 96.376s

OK (SKIP=71)
```