]> git.parisson.com Git - teleforma.git/commitdiff
new seminar not published by default
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 11 Mar 2014 22:22:51 +0000 (23:22 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 11 Mar 2014 22:22:51 +0000 (23:22 +0100)
teleforma/management/commands/teleforma-import-seminar-media.py

index 6d4b71e386c95ba14ac09ec2043177b49b748823..d2b665f741e3fa85916f876d5b9611d8c23587fe 100644 (file)
@@ -145,6 +145,7 @@ class Command(BaseCommand):
                                             rank=seminar_rank, period=period)
                     if c:
                         seminar.title = course.title
+                        seminar.status = 1
                         seminar.save()
 
                     exist = False