PageTemplateFile

File-based page template loaded from filename when first used.

Usage

Source

PageTemplateFile()

With package_name, filename is read from that package’s resources. File templates have the load: expression type, which loads templates relative to this one: search_path (a path or a sequence of paths; with prepend_relative_search_path, the default, the template’s own directory comes first) and loader_class (TemplateLoader), which gets the same configuration keywords.