[fix bug 907250] Add django-cache-machine to jinja templates.

* PEP8 beautifications.