          return
      # They all have the same app_label, get the first one.
      app_label = app_models[0]._meta.app_label
      app_models = dict(
          (model._meta.object_name.lower(), model)
          for model in app_models
      )
  
      # Get all the content types
      content_types = dict(
 
</s> remove             model_name = model._meta.object_name.lower()
 </s> add             model_name = model._meta.model_name </s> remove                 model = opts.object_name.lower(),
 </s> add                 model = opts.model_name, </s> remove                 model=opts.object_name.lower(),
 </s> add                 model=opts.model_name, </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. </s> remove             "comments/%s_%s_preview.html" % (model._meta.app_label, model._meta.module_name),
 </s> add             "comments/%s_%s_preview.html" % (model._meta.app_label, model._meta.model_name),
        (model._meta.model_name, model)
          return
      # They all have the same app_label, get the first one.
      app_label = app_models[0]._meta.app_label
      app_models = dict(
        (model._meta.model_name, model)
          for model in app_models
      )
  
      # Get all the content types
      content_types = dict(
keep keep keep keep replace keep keep keep keep keep
 Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`. 
django/contrib/contenttypes/management.py