      except ImproperlyConfigured:
          raise Http404(_("App %r not found") % app_label)
      model = None
      for m in models.get_models(app_mod):
          if m._meta.object_name.lower() == model_name:
              model = m
              break
      if model is None:
          raise Http404(_("Model %(model_name)r not found in app %(app_label)r") % {'model_name': model_name, 'app_label': app_label})
  
 
</s> remove                 raise NotModerated("The model '%s' is not currently being moderated" % model._meta.module_name)
 </s> add                 raise NotModerated("The model '%s' is not currently being moderated" % model._meta.model_name) </s> remove                 raise AlreadyModerated("The model '%s' is already being moderated" % model._meta.module_name)
 </s> add                 raise AlreadyModerated("The model '%s' is already being moderated" % model._meta.model_name) </s> remove                                     (opts.app_label, opts.module_name),
 </s> add                                     (opts.app_label, opts.model_name), </s> remove     def __getitem__(self, module_name):
        return PermLookupDict(self.user, module_name)
 </s> add     def __getitem__(self, app_label):
        return PermLookupDict(self.user, app_label) </s> remove     Helper to look up a model from an "app_label.module_name" string.
 </s> add     Helper to look up a model from an "app_label.model_name" string.
        if m._meta.model_name == model_name:
      except ImproperlyConfigured:
          raise Http404(_("App %r not found") % app_label)
      model = None
      for m in models.get_models(app_mod):
        if m._meta.model_name == model_name:
              model = m
              break
      if model is None:
          raise Http404(_("Model %(model_name)r not found in app %(app_label)r") % {'model_name': model_name, 'app_label': app_label})
  
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