diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-04-16 17:47:45 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-04-16 17:47:45 (GMT) |
commit | e70db7a684cbfd2c449688f1f921c2e747cdef12 (patch) | |
tree | 5de823f7d3f5c6d43815578c67c5d0eae0abb01c /program | |
parent | 7830905599daec37d1399b63ab7c02a2bce63e21 (diff) |
removed cba_entry_id and cba_series_id from Show and Time Slot models
Diffstat (limited to 'program')
-rw-r--r-- | program/migrations/0006_note_remove_cba_entry_id.py | 18 | ||||
-rw-r--r-- | program/migrations/0007_show_remove_cba_series_id.py | 18 | ||||
-rw-r--r-- | program/models.py | 2 |
3 files changed, 36 insertions, 2 deletions
diff --git a/program/migrations/0006_note_remove_cba_entry_id.py b/program/migrations/0006_note_remove_cba_entry_id.py new file mode 100644 index 0000000..e16da83 --- /dev/null +++ b/program/migrations/0006_note_remove_cba_entry_id.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('program', '0005_programslot_is_active'), + ] + + operations = [ + migrations.RemoveField( + model_name='note', + name='cba_entry_id', + ), + ] diff --git a/program/migrations/0007_show_remove_cba_series_id.py b/program/migrations/0007_show_remove_cba_series_id.py new file mode 100644 index 0000000..5c9f161 --- /dev/null +++ b/program/migrations/0007_show_remove_cba_series_id.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('program', '0006_note_remove_cba_entry_id'), + ] + + operations = [ + migrations.RemoveField( + model_name='show', + name='cba_series_id', + ), + ] diff --git a/program/models.py b/program/models.py index d755248..52b5517 100644 --- a/program/models.py +++ b/program/models.py @@ -244,7 +244,6 @@ class Show(models.Model): email = models.EmailField(_("E-Mail"), blank=True, null=True) website = models.URLField(_("Website"), blank=True, null=True) is_active = models.BooleanField(_("Is active"), default=True, editable=False) - cba_series_id = models.IntegerField(_("CBA series ID"), blank=True, null=True) automation_id = models.IntegerField(_("Automation ID"), blank=True, null=True, choices=get_automation_id_choices()) created = models.DateTimeField(auto_now_add=True, editable=False) last_updated = models.DateTimeField(auto_now=True, editable=False) @@ -483,7 +482,6 @@ class Note(models.Model): title = models.CharField(_("Title"), max_length=128) content = tinymce_models.HTMLField(_("Content")) status = models.IntegerField(_("Status"), choices=STATUS_CHOICES, default=1) - cba_entry_id = models.IntegerField(_("CBA entry ID"), blank=True, null=True) start = models.DateTimeField(editable=False) show = models.ForeignKey(Show, editable=False, related_name='notes') created = models.DateTimeField(auto_now_add=True, editable=False) |