From e70db7a684cbfd2c449688f1f921c2e747cdef12 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sat, 16 Apr 2016 19:47:45 +0200 Subject: removed cba_entry_id and cba_series_id from Show and Time Slot models 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) -- cgit v0.10.2