summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2013-04-12 15:29:41 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2013-04-12 15:29:41 (GMT)
commit6e8c1713e0f415cca094b445bb2ea090999c4bfd (patch)
treed3181725cbcb4bdac912c14bd010522b92554b19
parent158ea6ae635592bcd420a18cadcc356bbc63a6d5 (diff)
added automation ID for programslots and shows.
-rw-r--r--program/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/models.py b/program/models.py
index c176fda..448b742 100644
--- a/program/models.py
+++ b/program/models.py
@@ -227,6 +227,7 @@ class Show(models.Model):
email = models.EmailField(_("E-Mail"), blank=True, null=True)
website = models.URLField(_("Website"), blank=True, null=True)
cba_series_id = models.IntegerField(_("CBA series ID"), blank=True, null=True)
+ automation_id = models.IntegerField(_("Automation ID"), blank=True, null=True)
created = models.DateTimeField(auto_now_add=True, editable=False)
last_updated = models.DateTimeField(auto_now=True, editable=False)
@@ -293,6 +294,7 @@ class ProgramSlot(models.Model):
tend = models.TimeField(_("End time"))
until = models.DateField(_("Last date"))
is_repetition = models.BooleanField(_("Is repetition"), default=False)
+ automation_id = models.IntegerField(_("Automation ID"), blank=True, null=True)
created = models.DateTimeField(auto_now_add=True, editable=False)
last_updated = models.DateTimeField(auto_now=True, editable=False)