]> git.parisson.com Git - teleforma.git/commitdiff
fix domain
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 18 Dec 2014 08:58:36 +0000 (09:58 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 18 Dec 2014 08:58:36 +0000 (09:58 +0100)
teleforma/management/commands/teleforma-copy-seminars.py

index 54cb0b066f4d96122e3185d2fa878304b47c1086..48757112eeeae42ab85a662a82738b983ff9f92b 100644 (file)
@@ -39,7 +39,7 @@ class Command(BaseCommand):
         from_year = int(args[-3])
         logger = Logger(args[-1])
 
-        self.site.name = self.new_site
+        self.site.domain = self.new_site
         self.site.save()
 
         to_period, c = Period.objects.get_or_create(name=str(to_year))