@staticmethod<EOL><INDENT>def get_template_options():<DEDENT>
template_root = turrentine_settings.TURRENTINE_TEMPLATE_ROOT<EOL>turrentine_dir = turrentine_settings.TURRENTINE_TEMPLATE_SUBDIR<EOL>output = []<EOL>for root, dirs, files in os.walk(turrentine_dir):<EOL><INDENT>for file_name in files: <EOL><INDENT>full_path = os.path.join(root, file_name)<EOL>relative_path = os.path.relpath(full_path, template_root)<EOL>output.append(relative_path)<EOL><DEDENT><DEDENT>return output<EOL>
Returns a list of all templates that can be used for CMS pages.
The paths that are returned are relative to TURRENTINE_TEMPLATE_ROOT.