From nobody Mon Sep 16 19:48:23 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1601049570; cv=none; d=zohomail.com; s=zohoarc; b=OCsyPiBCcrB9DsOniNtxtJlyO9JOTHm8cEBBy0WeQkyE6Fj3wR9OpH/E+HByarONoQIWdYeeXCb5uxIe/FQKJnFkbOEALgoiaGOE2AjDMmTqtW+YHcIXEQYvUXtKiwEY5kqP5lmv8a8Igru79Gbq2MzVRQCl9J9wFIEdTIovL50= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601049570; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=jjMrF0xeoLU3foKkrYLo/IDnLvG7QWMqXO1oIiUrRLs=; b=IMYbAcqVj38OOm3rC1lQsUOsr6EiGgJD2Qtui5/0aUPOeGVjGXtdp3j3IxqzDuhY85DGUJaj86y6PqdDcfN1WPAAZFEAIzm9V3XR+Jgx+C4YvQIEvJLVIAVOGDBL7t80w587ZvnFLxtVp7cMyPnIuJZXXCopxrrrA5jSCvX2La4= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1601049570207251.85281795034064; Fri, 25 Sep 2020 08:59:30 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-538-F-O-qGUMPqyDfKcU3d3b0A-1; Fri, 25 Sep 2020 11:59:23 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 22BAA10219E1; Fri, 25 Sep 2020 15:59:22 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1AEF460C15; Fri, 25 Sep 2020 15:59:22 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 13F651826D2B; Fri, 25 Sep 2020 15:59:22 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 08PFxKRT025865 for ; Fri, 25 Sep 2020 11:59:20 -0400 Received: by smtp.corp.redhat.com (Postfix) id A28482156A23; Fri, 25 Sep 2020 15:59:20 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9DA0D2166B27 for ; Fri, 25 Sep 2020 15:59:17 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 87600186E146 for ; Fri, 25 Sep 2020 15:59:17 +0000 (UTC) Received: from sender2-op-o12.zoho.com.cn (sender2-op-o12.zoho.com.cn [163.53.93.243]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-49-stV_0foqMqi76cJx_PmYIg-1; Fri, 25 Sep 2020 11:59:15 -0400 Received: from localhost (host109-159-73-6.range109-159.btcentralplus.com [109.159.73.6]) by mx.zoho.com.cn with SMTPS id 160104862122558.064174972857245; Fri, 25 Sep 2020 23:43:41 +0800 (CST) X-MC-Unique: F-O-qGUMPqyDfKcU3d3b0A-1 X-MC-Unique: stV_0foqMqi76cJx_PmYIg-1 From: fam@euphon.net To: patchew-devel@redhat.com Message-ID: <20200925154243.685513-4-fam@euphon.net> Date: Fri, 25 Sep 2020 16:42:35 +0100 In-Reply-To: <20200925154243.685513-1-fam@euphon.net> References: <20200925154243.685513-1-fam@euphon.net> MIME-Version: 1.0 X-ZohoCNMailClient: External X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 08PFxKRT025865 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH 03/11] settings: Remove SessionAuthenticationMiddleware X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=patchew-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Fam Zheng The django doc said this is unused (unconditional), and the object is not present in newer djangos: https://docs.djangoproject.com/en/3.1/releases/2.0/ --- patchew/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/patchew/settings.py b/patchew/settings.py index e851a4c..ce21eee 100644 --- a/patchew/settings.py +++ b/patchew/settings.py @@ -58,7 +58,6 @@ MIDDLEWARE =3D [ "django.middleware.common.CommonMiddleware", "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", - "django.contrib.auth.middleware.SessionAuthenticationMiddleware", "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", ] --=20 2.25.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://www.redhat.com/mailman/listinfo/patchew-devel