          # name list so that user-supplied names override the automatically-
          # generated ones.
          if hasattr(self.object_list, 'model'):
              opts = self.object_list.model._meta
              names.append("%s/%s%s.html" % (opts.app_label, opts.object_name.lower(), self.template_name_suffix))
  
          return names
  
  
  class ListView(MultipleObjectTemplateResponseMixin, BaseListView):
 
</s> remove                 self.model._meta.object_name.lower(),
 </s> add                 self.model._meta.model_name, </s> remove         return self.rel.related_name or self.opts.object_name.lower()
 </s> add         return self.rel.related_name or self.opts.model_name </s> remove                                (opts.app_label, opts.module_name),
 </s> add                                (opts.app_label, opts.model_name), </s> remove                                (opts.app_label, opts.module_name),
 </s> add                                (opts.app_label, opts.model_name), </s> remove         return '-'.join((opts.app_label, opts.object_name.lower(),
 </s> add         return '-'.join((opts.app_label, opts.model_name,
            names.append("%s/%s%s.html" % (opts.app_label, opts.model_name, self.template_name_suffix))
          # name list so that user-supplied names override the automatically-
          # generated ones.
          if hasattr(self.object_list, 'model'):
              opts = self.object_list.model._meta
            names.append("%s/%s%s.html" % (opts.app_label, opts.model_name, self.template_name_suffix))
  
          return names
  
  
  class ListView(MultipleObjectTemplateResponseMixin, BaseListView):
keep keep keep keep replace keep keep keep keep keep
 Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`. 
django/views/generic/list.py