1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2025-02-06 07:13:01 +00:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Yohann D'ANELLO
9dcb25723e ony.me -> example.com 2020-07-30 13:44:34 +02:00
Yohann D'ANELLO
79afabf81b Anonymize club emails 2020-07-30 13:12:06 +02:00
Yohann D'ANELLO
4cb2fbb2a1 Anonymize email address 2020-07-30 12:51:49 +02:00

View File

@ -17,5 +17,8 @@ class Command(BaseCommand):
"address = '4 avenue des Sciences, 91190 GIF-SUR-YVETTE';") "address = '4 avenue des Sciences, 91190 GIF-SUR-YVETTE';")
cur.execute("UPDATE auth_user SET " cur.execute("UPDATE auth_user SET "
"first_name = 'Anne', " "first_name = 'Anne', "
"last_name = 'Onyme';") "last_name = 'Onyme', "
"email = 'anonymous@example.com';")
cur.execute("UPDATE member_club SET "
"email = 'anonymous@example.com';")
cur.close() cur.close()