nicer output
This commit is contained in:
parent
e717f23928
commit
64ba820712
|
@ -268,7 +268,7 @@ class Command(BaseCommand):
|
||||||
#reset database.
|
#reset database.
|
||||||
call_command("migrate")
|
call_command("migrate")
|
||||||
call_command("loaddata","initial")
|
call_command("loaddata","initial")
|
||||||
self.print_success("reset nk20 database")
|
self.print_success("reset nk20 database\n")
|
||||||
import_comptes(cur)
|
import_comptes(cur)
|
||||||
self.print_success("comptes table imported")
|
self.print_success("comptes table imported")
|
||||||
elif kwargs["map"]:
|
elif kwargs["map"]:
|
||||||
|
@ -284,10 +284,10 @@ class Command(BaseCommand):
|
||||||
# /!\ need a prober MAP_IDBDE
|
# /!\ need a prober MAP_IDBDE
|
||||||
if kwargs["boutons"]:
|
if kwargs["boutons"]:
|
||||||
import_boutons(cur)
|
import_boutons(cur)
|
||||||
self.print_success("boutons table imported")
|
self.print_success("boutons table imported\n")
|
||||||
if kwargs["transactions"]:
|
|
||||||
import_transaction(cur)
|
|
||||||
self.print_success("transaction imported")
|
|
||||||
if kwargs["aliases"]:
|
if kwargs["aliases"]:
|
||||||
import_aliases(cur)
|
import_aliases(cur)
|
||||||
self.print_success("aliases imported")
|
self.print_success("aliases imported\n")
|
||||||
|
if kwargs["transactions"]:
|
||||||
|
import_transaction(cur)
|
||||||
|
self.print_success("transaction imported\n")
|
||||||
|
|
Loading…
Reference in New Issue