From 51fba4da21b6247faf2e345ca4e62d1a63f78679 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Sat, 18 Mar 2017 19:02:08 -0300 Subject: [PATCH] Log messages --- kfet/management/commands/loadkfetdevdata.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kfet/management/commands/loadkfetdevdata.py b/kfet/management/commands/loadkfetdevdata.py index b1ed6726..705f6f27 100644 --- a/kfet/management/commands/loadkfetdevdata.py +++ b/kfet/management/commands/loadkfetdevdata.py @@ -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')