Fixes /cache/view_all/.

Django templates were trying to call some things that shouldn't be
called, and it was breaking the page.
Merge pull request #783 from benjaminjkraft/all-caches-fix

Fixes /cache/view_all/.