From 635f83697c9e6eb710744bc217115531fbe03cb0 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 13 Jun 2023 16:56:01 +0200 Subject: [PATCH] slugify --- .../management/commands/teleforma-export-wifi-accounts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' -- 2.39.5