]> 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:15:30 +0000 (18:15 +0200)
teleforma/views/core.py

index 3bb612a8b82943afc4b32d6b1be4765ef3edf26d..c66db51a48cc7dd4e3c8748d23c8f70b37179254 100644 (file)
@@ -592,7 +592,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())