]> git.parisson.com Git - teleforma.git/commitdiff
fix conf push host
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 17 Jul 2013 16:12:41 +0000 (18:12 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 17 Jul 2013 16:12:41 +0000 (18:12 +0200)
teleforma/views/core.py

index 751f8026e1b3ea4d6e74e31a5970d882f3331cda..5a143399cb5ab1d4e17049b79fa73505162c20ce 100644 (file)
@@ -597,7 +597,7 @@ class ConferenceRecordView(FormView):
             raise 'Error : input must be a conference dictionnary'
 
     def push(self):
-        url = 'http://' + settings.TELECASTER_MASTER_SERVER + '/json/'
+        url = 'http://' + self.conference.department.domain + '/json/'
         s = ServiceProxy(url)
         s.teleforma.create_conference(self.conference.to_json_dict())