          })
          fields.append({
              'name'      : "%s.count" % field.name,
              'data_type' : 'Integer',
              'verbose'   : utils.parse_rst(_("number of %s") % verbose , 'model', _('model:') + opts.module_name),
          })
  
      # Gather model methods.
      for func_name, func in model.__dict__.items():
          if (inspect.isfunction(func) and len(inspect.getargspec(func)[0]) == 1):
 
</s> remove             'verbose'   : utils.parse_rst(_("all %s") % verbose , 'model', _('model:') + opts.module_name),
 </s> add             'verbose'   : utils.parse_rst(_("all %s") % verbose , 'model', _('model:') + opts.model_name), </s> remove             'verbose': utils.parse_rst(_("all %s") % verbose , 'model', _('model:') + opts.module_name),
 </s> add             'verbose': utils.parse_rst(_("all %s") % verbose , 'model', _('model:') + opts.model_name), </s> remove             'verbose'   : utils.parse_rst(_("number of %s") % verbose , 'model', _('model:') + opts.module_name),
 </s> add             'verbose'   : utils.parse_rst(_("number of %s") % verbose , 'model', _('model:') + opts.model_name), </s> remove                 verbose = utils.parse_rst(utils.trim_docstring(verbose), 'model', _('model:') + opts.module_name)
 </s> add                 verbose = utils.parse_rst(utils.trim_docstring(verbose), 'model', _('model:') + opts.model_name) </s> remove         if m._meta.object_name.lower() == model_name:
 </s> add         if m._meta.model_name == model_name:
            'verbose'   : utils.parse_rst(_("number of %s") % verbose , 'model', _('model:') + opts.model_name),
          })
          fields.append({
              'name'      : "%s.count" % field.name,
              'data_type' : 'Integer',
            'verbose'   : utils.parse_rst(_("number of %s") % verbose , 'model', _('model:') + opts.model_name),
          })
  
      # Gather model methods.
      for func_name, func in model.__dict__.items():
          if (inspect.isfunction(func) and len(inspect.getargspec(func)[0]) == 1):
keep keep keep keep replace keep keep keep keep keep
 Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`. 
django/contrib/admindocs/views.py