          """
          opts = self.model._meta
          if self.has_change_permission(request, None):
              post_url = reverse('admin:%s_%s_changelist' %
                                 (opts.app_label, opts.module_name),
                                 current_app=self.admin_site.name)
          else:
              post_url = reverse('admin:index',
                                 current_app=self.admin_site.name)
          return HttpResponseRedirect(post_url)
 
</s>
                               (opts.app_label, opts.model_name),
          """
          opts = self.model._meta
          if self.has_change_permission(request, None):
              post_url = reverse('admin:%s_%s_changelist' %
                               (opts.app_label, opts.model_name),
                                 current_app=self.admin_site.name)
          else:
              post_url = reverse('admin:index',
                                 current_app=self.admin_site.name)
          return HttpResponseRedirect(post_url)
keep keep keep keep replace keep keep keep keep keep
 Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`.
django/contrib/admin/options.py