  
                  # Check whether user has any perm for this module.
                  # If so, add the module to the model_list.
                  if True in perms.values():
                      info = (app_label, model._meta.module_name)
                      model_dict = {
                          'name': capfirst(model._meta.verbose_name_plural),
                          'object_name': model._meta.object_name,
                          'perms': perms,
                      }
 
</s> remove                     info = (app_label, model._meta.module_name)
 </s> add                     info = (app_label, model._meta.model_name) </s> remove             model_name = model._meta.object_name.lower()
 </s> add             model_name = model._meta.model_name </s> remove         "admin/%s/%s/delete_selected_confirmation.html" % (app_label, opts.object_name.lower()),
 </s> add         "admin/%s/%s/delete_selected_confirmation.html" % (app_label, opts.model_name), </s> remove         self.module_name = self.object_name.lower()
 </s> add         self.model_name = self.object_name.lower() </s> remove         # If the db_table wasn't provided, use the app_label + module_name.
 </s> add         # If the db_table wasn't provided, use the app_label + model_name.
                    info = (app_label, model._meta.model_name)
  
                  # Check whether user has any perm for this module.
                  # If so, add the module to the model_list.
                  if True in perms.values():
                    info = (app_label, model._meta.model_name)
                      model_dict = {
                          'name': capfirst(model._meta.verbose_name_plural),
                          'object_name': model._meta.object_name,
                          'perms': perms,
                      }
keep keep keep keep replace keep keep keep keep keep
 Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`. 
django/contrib/admin/sites.py