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