add support for django cached template loader