Add TEMPLATE_DIRS and pass in templates as the directory.