From 4cb2fbb2a1228101553c24e40ac128ad29595672 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 30 Jul 2020 12:51:49 +0200 Subject: [PATCH] Anonymize email address --- management/commands/anonymize_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/management/commands/anonymize_data.py b/management/commands/anonymize_data.py index 304cbdb..9f07eab 100644 --- a/management/commands/anonymize_data.py +++ b/management/commands/anonymize_data.py @@ -17,5 +17,6 @@ class Command(BaseCommand): "address = '4 avenue des Sciences, 91190 GIF-SUR-YVETTE';") cur.execute("UPDATE auth_user SET " "first_name = 'Anne', " - "last_name = 'Onyme';") + "last_name = 'Onyme', " + "email = 'anne@ony.me';") cur.close()