From 92f8fa96074356af29203b9e8bdc705026c1195f Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 29 Jul 2020 19:03:50 +0200 Subject: [PATCH] first_name = prenom, last_name = nom --- management/commands/import_account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/management/commands/import_account.py b/management/commands/import_account.py index 4a88e2d..8607e1d 100644 --- a/management/commands/import_account.py +++ b/management/commands/import_account.py @@ -99,8 +99,8 @@ class Command(ImportCommand): "pk": pk_user, "username": row["pseudo"], "password": passwd_nk15, - "first_name": row["nom"], - "last_name": row["prenom"], + "first_name": row["prenom"], + "last_name": row["nom"], "email": row["mail"], "is_active": True, # temporary }