From 71ec40cd9580699832cfb346049f1ac2232751d6 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Mon, 1 Jun 2020 17:55:24 +0200 Subject: [PATCH] automatically gives su roles to developers --- management/commands/import_nk15.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/management/commands/import_nk15.py b/management/commands/import_nk15.py index b0a8236..f85204a 100644 --- a/management/commands/import_nk15.py +++ b/management/commands/import_nk15.py @@ -12,7 +12,7 @@ class Command(BaseCommand): def handle(self, *args, **kwargs): subprocess.call("./apps/scripts/shell/tabularasa") - call_command('import_account', alias=True, chunk=1000, save = "map.json") - call_command('import_activities', chunk=100, map="map.json") - call_command('import_transaction', chunk=10000, buttons=True, map="map.json") -# + call_command('import_account', alias=True, chunk=5000, save = "map.json") + call_command('import_activities', chunk=5000, map="map.json") + call_command('import_transaction', chunk=5000, buttons=True, map="map.json") + call_command('make_su', 'Coq', 'erdnaxe', 'PAC', 'Pollion', 'ÿnérant')