]> git.parisson.com Git - teleforma.git/commitdiff
add quiz during copy
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 23 Dec 2015 14:59:27 +0000 (15:59 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 23 Dec 2015 14:59:27 +0000 (15:59 +0100)
teleforma/management/commands/teleforma-copy-seminars.py

index 0e4c13236d0d0b072cd3015f185b430a977f0d30..ec69f2bb54af0a7243ef99c3584de38f2101b54e 100644 (file)
@@ -87,4 +87,6 @@ class Command(BaseCommand):
                         question_clone.save()
                         # print ("question cloned and assigned:", question_clone)
 
-
+                    clone.quiz = seminar.quiz
+                    clone.save()
+