From 02475a4b8d2af8e3c2bb7f4bc6b595783828e5c4 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 5 May 2020 07:09:49 +0200 Subject: [PATCH] Fix import --- apps/member/management/commands/import_olddb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/member/management/commands/import_olddb.py b/apps/member/management/commands/import_olddb.py index eac1125..7a5d439 100644 --- a/apps/member/management/commands/import_olddb.py +++ b/apps/member/management/commands/import_olddb.py @@ -164,6 +164,7 @@ class Command(BaseCommand): "is_staff": args[18] == "ADMIN", "is_superuser": args[18] == "ADMIN", } + print(obj_dict) with transaction.atomic(): TFJMUser.objects.create(**obj_dict) self.stdout.write(self.style.SUCCESS("Users imported"))