From: Guillaume Pellerin Date: Fri, 7 Feb 2014 08:04:43 +0000 (+0100) Subject: IP for source redirection X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=0a63cad39593ddd7e8a5e57d9d7a4a984118e171;p=teleforma.git IP for source redirection --- diff --git a/teleforma/sources/models.py b/teleforma/sources/models.py index e3927f0c..82fc4a41 100644 --- a/teleforma/sources/models.py +++ b/teleforma/sources/models.py @@ -53,4 +53,4 @@ class Source(Model): @property def default_record_url(self): - return 'http://' + self.public_id + '/' + self.monitors.all()[0].record_path + return 'http://' + str(self.ip) + '/' + self.monitors.all()[0].record_path