mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 07:02:22 +00:00
Fix import
This commit is contained in:
parent
240b0472a0
commit
02475a4b8d
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user