def METHOD_NAME(self, request, object_id=None, form_url="", extra_context=None):
    if request.method == "POST" and "_archive" in request.POST:
        obj = self.get_object(request, unquote(object_id))
        self.archive_single(request, obj)
        return HttpResponseRedirect(request.get_full_path())
    if object_id is not None:
        obj = self.get_object(request, unquote(object_id))
        if extra_context is None:
            extra_context = {"warning_message": self.warning_message(obj)}
        else:
            extra_context["warning_message"] = self.warning_message(obj)
    return admin.ModelAdmin.METHOD_NAME(
        self,
        request,
        object_id=object_id,
        form_url=form_url,
        extra_context=extra_context,
    )