def get_template_name(self, template_name_suffix=None):
if hasattr(self.object_list, '<STR_LIT>'):<EOL><INDENT>meta = self.object_list.model._meta<EOL>return self.get_template_path(meta, app_label=meta.app_label, object_name=meta.object_name, template_name_suffix=template_name_suffix)<EOL><DEDENT>
Generates a template path name based on model and app.
:param template_name_suffix: pass a custom suffix or leave empty for default
:return: template path