From 79afabf81b65dd47c3f0d8cdada8d71a8c95a99d Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 30 Jul 2020 13:12:06 +0200 Subject: [PATCH] Anonymize club emails --- management/commands/anonymize_data.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/management/commands/anonymize_data.py b/management/commands/anonymize_data.py index 9f07eab..9fc0e21 100644 --- a/management/commands/anonymize_data.py +++ b/management/commands/anonymize_data.py @@ -19,4 +19,6 @@ class Command(BaseCommand): "first_name = 'Anne', " "last_name = 'Onyme', " "email = 'anne@ony.me';") + cur.execute("UPDATE member_club SET " + "email = 'anne@ony.me';") cur.close()