1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-26 01:12:25 +00:00

automatically gives su roles to developers

This commit is contained in:
Pierre-antoine Comby 2020-06-01 17:55:24 +02:00
parent 9e8d0901d1
commit 71ec40cd95

View File

@ -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')