Update to use static template flag.

Needs STATIC_ROOT to be configured in the settings.py file for the server.