]> git.0d.be Git - django-panik-combo.git/commitdiff
update for latest combo (template_name)
authorFrédéric Péters <fpeters@0d.be>
Wed, 18 Aug 2021 07:07:21 +0000 (09:07 +0200)
committerFrédéric Péters <fpeters@0d.be>
Wed, 18 Aug 2021 07:07:21 +0000 (09:07 +0200)
panikombo/migrations/0023_auto_20210818_0906.py [new file with mode: 0644]
panikombo/models.py

diff --git a/panikombo/migrations/0023_auto_20210818_0906.py b/panikombo/migrations/0023_auto_20210818_0906.py
new file mode 100644 (file)
index 0000000..959db52
--- /dev/null
@@ -0,0 +1,28 @@
+# Generated by Django 2.2.19 on 2021-08-18 09:06
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('panikombo', '0022_auto_20210326_1324'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='episodecell',
+            name='template_name',
+            field=models.CharField(blank=True, max_length=50, null=True, verbose_name='Cell Template'),
+        ),
+        migrations.AddField(
+            model_name='soundcell',
+            name='template_name',
+            field=models.CharField(blank=True, max_length=50, null=True, verbose_name='Cell Template'),
+        ),
+        migrations.AddField(
+            model_name='soundscell',
+            name='template_name',
+            field=models.CharField(blank=True, max_length=50, null=True, verbose_name='Cell Template'),
+        ),
+    ]
index 2baae57caf5d8464b55659440a8fc81c9b398c06..219702a84fcc91448068b13c280c21712c9cc77a 100644 (file)
@@ -99,7 +99,6 @@ class EpisodeAutoSelectionCell(CellBase):
         _('Period'), default=0, choices=((0, _('All')), (1, _('Future')), (2, _('Past')))
     )
 
-    template_name = 'panikombo/episode_auto_selection.html'
     default_template_name = 'panikombo/episode_auto_selection.html'
 
     class Meta:
@@ -191,7 +190,6 @@ class NewsItemAutoSelectionCell(CellBase):
         'emissions.NewsCategory', verbose_name=_('Category'), null=True, blank=True, on_delete=models.SET_NULL
     )
 
-    template_name = 'panikombo/newsitem_auto_selection.html'
     default_template_name = 'panikombo/newsitem_auto_selection.html'
 
     class Meta: