Log messages
This commit is contained in:
parent
47b7d934e0
commit
51fba4da21
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,7 @@ class Command(MyBaseCommand):
|
|||
|
||||
# Compte liquide
|
||||
|
||||
self.stdout.write("Création du compte liquide")
|
||||
liq_user, _ = User.objects.get_or_create(username='liquide')
|
||||
liq_profile, _ = CofProfile.objects.get_or_create(user=liq_user)
|
||||
liq_account, _ = Account.objects.get_or_create(cofprofile=liq_profile,
|
||||
|
@ -97,6 +98,7 @@ class Command(MyBaseCommand):
|
|||
|
||||
root_profile = CofProfile.objects.filter(user__username='root')
|
||||
if root_profile.exists():
|
||||
self.stdout.write("Création du compte K-Fêt root")
|
||||
root_profile = root_profile.get()
|
||||
Account.objects.get_or_create(cofprofile=root_profile,
|
||||
trigramme='AAA')
|
||||
|
|
Loading…
Add table
Reference in a new issue