          if obj is None:
              raise Http404(_('%(name)s object with primary key %(key)r does not exist.') % {'name': force_text(opts.verbose_name), 'key': escape(object_id)})
  
          if request.method == 'POST' and "_saveasnew" in request.POST:
              return self.add_view(request, form_url=reverse('admin:%s_%s_add' %
                                      (opts.app_label, opts.model_name),
                                      current_app=self.admin_site.name))
  
          ModelForm = self.get_form(request, obj)
          if request.method == 'POST':
              form = ModelForm(request.POST, request.FILES, instance=obj)
              if form.is_valid():
 
</s> remove                     {'name': force_text(opts.verbose_name), 'key': escape(object_id)}
 </s> add                 {'name': force_text(opts.verbose_name), 'key': escape(object_id)} </s> remove         }, messages.SUCCESS)
 </s> add             }, messages.SUCCESS) </s> remove                         form[cl.model._meta.pk.name].is_hidden)):
 </s> add                     form[cl.model._meta.pk.name].is_hidden)): </s> remove                 request.path_info, supported=self._supported_languages
 </s> add             request.path_info, supported=self._supported_languages </s> remove                             related_modeladmin.has_add_permission(request))
 </s> add                     related_modeladmin.has_add_permission(request))
            return self.add_view(request, form_url=reverse('admin:%s_%s_add' % (
                opts.app_label, opts.model_name),
                current_app=self.admin_site.name))
          if obj is None:
              raise Http404(_('%(name)s object with primary key %(key)r does not exist.') % {'name': force_text(opts.verbose_name), 'key': escape(object_id)})
  
          if request.method == 'POST' and "_saveasnew" in request.POST:
            return self.add_view(request, form_url=reverse('admin:%s_%s_add' % (
                opts.app_label, opts.model_name),
                current_app=self.admin_site.name))
            return self.add_view(request, form_url=reverse('admin:%s_%s_add' % (
                opts.app_label, opts.model_name),
                current_app=self.admin_site.name))
            return self.add_view(request, form_url=reverse('admin:%s_%s_add' % (
                opts.app_label, opts.model_name),
                current_app=self.admin_site.name))
  
          ModelForm = self.get_form(request, obj)
          if request.method == 'POST':
              form = ModelForm(request.POST, request.FILES, instance=obj)
              if form.is_valid():
keep keep keep keep replace replace replace keep keep keep keep keep
 Fixed #21288 -- Fixed E126 pep8 warnings 
django/contrib/admin/options.py