  
                      # 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>
                        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