Commit 7653751c authored by fred's avatar fred

add emission property to diffusions

parent 2b78d370
......@@ -459,6 +459,10 @@ class Diffusion(models.Model, WeekdayMixin):
def end_datetime(self):
return self.datetime + datetime.timedelta(minutes=self.get_duration())
def emission(self):
return self.episode.emission
class Absence(models.Model):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment