Skip to main content

get_app_template_dirs

Return an iterable of paths of directories to load app templates from.

dirname is the name of the subdirectory containing templates inside installed applications.

def get_app_template_dirs(
dirname: string
) - > tuple

Return an iterable of paths of directories to load app templates from.

Parameters

NameTypeDescription
dirnamestringThe name of the subdirectory containing templates inside installed applications.

Returns

TypeDescription
tupleAn immutable tuple of Path objects representing existing subdirectories within installed applications.