summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/admin.py2
-rw-r--r--program/migrations/0008_show_remove_automation_id.py18
-rw-r--r--program/models.py1
3 files changed, 19 insertions, 2 deletions
diff --git a/program/admin.py b/program/admin.py
index 591c363..b840d03 100644
--- a/program/admin.py
+++ b/program/admin.py
@@ -110,7 +110,7 @@ class ShowAdmin(admin.ModelAdmin):
search_fields = ('name', 'short_description', 'description')
fields = (
'predecessor', 'broadcastformat', 'name', 'slug', 'image', 'image_enabled', 'short_description', 'description',
- 'email', 'website', 'automation_id', 'hosts', 'owners', 'showinformation', 'showtopic',
+ 'email', 'website', 'hosts', 'owners', 'showinformation', 'showtopic',
'musicfocus',
)
diff --git a/program/migrations/0008_show_remove_automation_id.py b/program/migrations/0008_show_remove_automation_id.py
new file mode 100644
index 0000000..eda14c5
--- /dev/null
+++ b/program/migrations/0008_show_remove_automation_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', '0007_show_remove_cba_series_id'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='show',
+ name='automation_id',
+ ),
+ ]
diff --git a/program/models.py b/program/models.py
index eef8f93..b11d180 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)
- 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)