Received: from mail.netlandish.com (mail.netlandish.com [174.136.98.166]) by code.netlandish.com (Postfix) with ESMTP id DCE4E81600 for <~petersanchez/public-inbox@lists.code.netlandish.com>; Thu, 4 Feb 2021 21:17:05 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.51.188.92; helo=eggs.gnu.org; envelope-from=jordigh@gnu.org; receiver= Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by mail.netlandish.com (Postfix) with ESMTP id 3A039152E8A for <~petersanchez/public-inbox@lists.code.netlandish.com>; Thu, 4 Feb 2021 21:17:03 +0000 (UTC) Received: from fencepost.gnu.org ([2001:470:142:3::e]:46766) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7lzr-0007Z3-7j for ~petersanchez/public-inbox@lists.code.netlandish.com; Thu, 04 Feb 2021 16:17:03 -0500 Received: from 198-48-195-13.cpe.pppoe.ca ([198.48.195.13]:50992 helo=[127.0.1.1]) by fencepost.gnu.org with esmtpa (Exim 4.82) (envelope-from ) id 1l7lzq-0005g6-9n for ~petersanchez/public-inbox@lists.code.netlandish.com; Thu, 04 Feb 2021 16:17:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: [PATCH django-impersonate] Record the impersonator on the user object X-Mercurial-Node: 02c4ab3442b2f9c2df491b0663fae5caa8129418 X-Mercurial-Series-Index: 1 X-Mercurial-Series-Total: 1 Message-Id: <02c4ab3442b2f9c2df49.1612473416@chloe> X-Mercurial-Series-Id: <02c4ab3442b2f9c2df49.1612473416@chloe> User-Agent: Mercurial-patchbomb/5.5.1 Date: Thu, 04 Feb 2021 16:16:56 -0500 From: =?iso-8859-1?q?Jordi_Guti=E9rrez_Hermoso?= To: ~petersanchez/public-inbox@lists.code.netlandish.com IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIEpvcmRpIEd1dGnDqXJyZXogSGVybW9zbyA8am9y ZGlnaEBnbnUub3JnP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