From: Guillaume Pellerin Date: Tue, 13 Jun 2023 14:56:01 +0000 (+0200) Subject: slugify X-Git-Tag: 2.9.0~64 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=635f83697c9e6eb710744bc217115531fbe03cb0;p=teleforma.git slugify --- diff --git a/teleforma/management/commands/teleforma-export-wifi-accounts.py b/teleforma/management/commands/teleforma-export-wifi-accounts.py index 726daaca..35138b54 100644 --- a/teleforma/management/commands/teleforma-export-wifi-accounts.py +++ b/teleforma/management/commands/teleforma-export-wifi-accounts.py @@ -36,8 +36,8 @@ class Command(BaseCommand): student.period == period and \ not student.platform_only: data = [] - data.append(user.first_name) - data.append(user.last_name) + data.append(slugify(user.first_name)) + data.append(slugify(user.last_name)) data.append(p.wifi_login) data.append(p.wifi_pass) s += ','.join(data)+'\n'