From 6a7c47c3c3c3fd3483d56378745b485910e29618 Mon Sep 17 00:00:00 2001
From: Ernesto Rico Schmidt <ernesto@helsinki.at>
Date: Thu, 13 Jan 2022 12:39:32 -0400
Subject: [PATCH] Remove tinymce from program migrations

---
 program/migrations/0001_initial.py            | 5 ++---
 program/migrations/0001_squashed.py           | 7 +++----
 program/migrations/0012_auto_20180104_0005.py | 7 +++----
 3 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/program/migrations/0001_initial.py b/program/migrations/0001_initial.py
index c0677f08..ebbe4293 100644
--- a/program/migrations/0001_initial.py
+++ b/program/migrations/0001_initial.py
@@ -2,7 +2,6 @@
 from __future__ import unicode_literals
 
 from django.db import migrations, models
-import tinymce.models
 from django.conf import settings
 
 
@@ -65,7 +64,7 @@ class Migration(migrations.Migration):
             fields=[
                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                 ('title', models.CharField(max_length=128, verbose_name='Title')),
-                ('content', tinymce.models.HTMLField(verbose_name='Content')),
+                ('content', models.TextField(verbose_name='Content')),
                 ('status', models.IntegerField(default=1, verbose_name='Status', choices=[(0, 'Cancellation'), (1, 'Recommendation'), (2, 'Repetition')])),
                 ('cba_entry_id', models.IntegerField(null=True, verbose_name='CBA entry ID', blank=True)),
                 ('start', models.DateTimeField(editable=False)),
@@ -123,7 +122,7 @@ class Migration(migrations.Migration):
                 ('image', models.ImageField(upload_to=b'show_images', null=True, verbose_name='Image', blank=True)),
                 ('image_enabled', models.BooleanField(default=True, verbose_name='show Image')),
                 ('short_description', models.CharField(max_length=64, verbose_name='Short description')),
-                ('description', tinymce.models.HTMLField(null=True, verbose_name='Description', blank=True)),
+                ('description', models.TextField(null=True, verbose_name='Description', blank=True)),
                 ('email', models.EmailField(max_length=254, null=True, verbose_name='E-Mail', blank=True)),
                 ('website', models.URLField(null=True, verbose_name='Website', blank=True)),
                 ('cba_series_id', models.IntegerField(null=True, verbose_name='CBA series ID', blank=True)),
diff --git a/program/migrations/0001_squashed.py b/program/migrations/0001_squashed.py
index 4cb32c53..7db3fbd6 100644
--- a/program/migrations/0001_squashed.py
+++ b/program/migrations/0001_squashed.py
@@ -3,7 +3,6 @@
 from django.conf import settings
 from django.db import migrations, models
 import django.db.models.deletion
-import tinymce.models
 import versatileimagefield.fields
 
 
@@ -25,7 +24,7 @@ class Migration(migrations.Migration):
                 ('name', models.CharField(max_length=128, verbose_name='Name')),
                 ('email', models.EmailField(blank=True, max_length=254, verbose_name='E-Mail')),
                 ('website', models.URLField(blank=True, help_text='URL to your personal website.', verbose_name='Website')),
-                ('biography', tinymce.models.HTMLField(blank=True, help_text='Describe yourself and your fields of interest in a few sentences.', null=True, verbose_name='Biography')),
+                ('biography', models.TextField(blank=True, help_text='Describe yourself and your fields of interest in a few sentences.', null=True, verbose_name='Biography')),
                 ('cba_url', models.URLField(blank=True, help_text='URL to your CBA profile.', verbose_name='CBA URL')),
                 ('dorftv_url', models.URLField(blank=True, help_text='URL to your dorfTV channel.', verbose_name='DorfTV URL')),
                 ('facebook_url', models.URLField(blank=True, help_text='URL to your Facebook profile.', verbose_name='Facebook URL')),
@@ -87,7 +86,7 @@ class Migration(migrations.Migration):
                 ('slug', models.CharField(help_text='A simple to read URL for your show', max_length=255, unique=True, verbose_name='Slug')),
                 ('image', versatileimagefield.fields.VersatileImageField(blank=True, height_field='height', help_text="Upload an image to your show. Images are automatically cropped around the 'Primary Point of Interest'. Click in the image to change it and press Save.", null=True, upload_to='show_images', verbose_name='Image', width_field='width')),
                 ('short_description', models.TextField(help_text='Describe your show in some sentences. Avoid technical data like airing times and contact information. They will be added automatically.', verbose_name='Short description')),
-                ('description', tinymce.models.HTMLField(blank=True, help_text='Describe your show in detail.', null=True, verbose_name='Description')),
+                ('description', models.TextField(blank=True, help_text='Describe your show in detail.', null=True, verbose_name='Description')),
                 ('email', models.EmailField(blank=True, help_text='The main contact email address for your show.', max_length=254, null=True, verbose_name='E-Mail')),
                 ('website', models.URLField(blank=True, help_text='Is there a website to your show? Type in its URL.', null=True, verbose_name='Website')),
                 ('created', models.DateTimeField(auto_now_add=True)),
@@ -223,7 +222,7 @@ class Migration(migrations.Migration):
             fields=[
                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                 ('title', models.CharField(help_text="Give your note a good headline. What will your upcoming show be about? Try to arouse interest to listen to it!<br>Avoid technical data like the show's name, its airing times or its episode number. These data are added automatically.", max_length=128, verbose_name='Title')),
-                ('content', tinymce.models.HTMLField(help_text='Describe your upcoming show in detail.', verbose_name='Content')),
+                ('content', models.TextField(help_text='Describe your upcoming show in detail.', verbose_name='Content')),
                 ('status', models.IntegerField(choices=[(0, 'Cancellation'), (1, 'Recommendation'), (2, 'Repetition')], default=1, verbose_name='Status')),
                 ('start', models.DateTimeField(editable=False)),
                 ('created', models.DateTimeField(auto_now_add=True)),
diff --git a/program/migrations/0012_auto_20180104_0005.py b/program/migrations/0012_auto_20180104_0005.py
index a60764d6..dac9db48 100644
--- a/program/migrations/0012_auto_20180104_0005.py
+++ b/program/migrations/0012_auto_20180104_0005.py
@@ -5,7 +5,6 @@ from __future__ import unicode_literals
 from django.conf import settings
 from django.db import migrations, models
 import django.db.models.deletion
-import tinymce.models
 import versatileimagefield.fields
 
 
@@ -155,7 +154,7 @@ class Migration(migrations.Migration):
         migrations.AddField(
             model_name='host',
             name='biography',
-            field=tinymce.models.HTMLField(blank=True, help_text='Describe yourself and your fields of interest in a few sentences.', null=True, verbose_name='Biography'),
+            field=models.TextField(blank=True, help_text='Describe yourself and your fields of interest in a few sentences.', null=True, verbose_name='Biography'),
         ),
         migrations.AddField(
             model_name='host',
@@ -331,7 +330,7 @@ class Migration(migrations.Migration):
         migrations.AlterField(
             model_name='note',
             name='content',
-            field=tinymce.models.HTMLField(help_text='Describe your upcoming show in detail.', verbose_name='Content'),
+            field=models.TextField(help_text='Describe your upcoming show in detail.', verbose_name='Content'),
         ),
         migrations.AlterField(
             model_name='note',
@@ -346,7 +345,7 @@ class Migration(migrations.Migration):
         migrations.AlterField(
             model_name='show',
             name='description',
-            field=tinymce.models.HTMLField(blank=True, help_text='Describe your show in detail.', null=True, verbose_name='Description'),
+            field=models.TextField(blank=True, help_text='Describe your show in detail.', null=True, verbose_name='Description'),
         ),
         migrations.AlterField(
             model_name='show',
-- 
GitLab