From 4dd701a3ea3738a8ce36d192731865d60a77f9ea Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 28 Dec 2016 01:37:40 +0100 Subject: [PATCH] copy more seminars --- teleforma/management/commands/teleforma-copy-seminars.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teleforma/management/commands/teleforma-copy-seminars.py b/teleforma/management/commands/teleforma-copy-seminars.py index 49b74bdd..88502bb0 100644 --- a/teleforma/management/commands/teleforma-copy-seminars.py +++ b/teleforma/management/commands/teleforma-copy-seminars.py @@ -30,10 +30,10 @@ class Command(BaseCommand): help = """Copy some seminars and their content thanks to their expiry date year""" args = ['site_domain from_year to_year log_file'] language_code = 'fr_FR' - # more = ['deontologie_1', 'deontologie_2', 'commercial_2', 'Contrats_4', 'PAC_5'] + more = ['deontologie_1', 'deontologie_2', 'commercial_2', 'Contrats_4', 'PAC_5'] more = [] site = Site.objects.get_current() - + def handle(self, *args, **kwargs): to_year = int(args[-2]) from_year = int(args[-3]) -- 2.39.5