                   prefix=None, queryset=None):
          opts = self.model._meta
          self.instance = instance
          self.rel_name = '-'.join((
              opts.app_label, opts.object_name.lower(),
              self.ct_field.name, self.ct_fk_field.name,
          ))
          if self.instance is None or self.instance.pk is None:
              qs = self.model._default_manager.none()
          else:
 
</s> remove         return '-'.join((opts.app_label, opts.object_name.lower(),
 </s> add         return '-'.join((opts.app_label, opts.model_name, </s> remove         self.name = self.name or (self.rel.to._meta.object_name.lower() + '_' + self.rel.to._meta.pk.name)
 </s> add         self.name = self.name or (self.rel.to._meta.model_name + '_' + self.rel.to._meta.pk.name) </s> remove                                (opts.app_label, opts.module_name),
 </s> add                                (opts.app_label, opts.model_name), </s> remove                                (opts.app_label, opts.module_name),
 </s> add                                (opts.app_label, opts.model_name), </s> remove                 model = opts.object_name.lower(),
 </s> add                 model = opts.model_name,
            opts.app_label, opts.model_name,
                   prefix=None, queryset=None):
          opts = self.model._meta
          self.instance = instance
          self.rel_name = '-'.join((
            opts.app_label, opts.model_name,
              self.ct_field.name, self.ct_fk_field.name,
          ))
          if self.instance is None or self.instance.pk is None:
              qs = self.model._default_manager.none()
          else:
keep keep keep keep replace keep keep keep keep keep
 Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`. 
django/contrib/contenttypes/generic.py