From: Guillaume Pellerin Date: Thu, 19 Dec 2013 17:52:50 +0000 (+0100) Subject: finally fix question save X-Git-Tag: 2.8.1-pro~402 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=819e2c6a90ca01d7751039bd8381fadf1bf7b0ae;p=teleforma.git finally fix question save --- diff --git a/teleforma/management/commands/teleforma-copy-seminars.py b/teleforma/management/commands/teleforma-copy-seminars.py index b1758d6d..9cc486f5 100644 --- a/teleforma/management/commands/teleforma-copy-seminars.py +++ b/teleforma/management/commands/teleforma-copy-seminars.py @@ -55,5 +55,5 @@ class Command(BaseCommand): for question in seminar.question.all(): question_clone = question.clone() question_clone.seminar = clone - question.save() - print ("question cloned and assigned:", question) + question_clone.save() + print ("question cloned and assigned:", question_clone)