code: def get_template_name(self, template_name_suffix=None):
          
          if hasattr(self.object_list, 'model'):
              meta = self.object_list.model._meta
              return self.get_template_path(meta, app_label=meta.app_label, object_name=meta.object_name, template_name_suffix=template_name_suffix)
docs: 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