diff --git a/program/models.py b/program/models.py index 8c874061408ffdd4f4c6a241588f4447b5aa6beb..0e95c6366ef37c5d6730b6dc985ce95557c6c17d 100644 --- a/program/models.py +++ b/program/models.py @@ -32,7 +32,6 @@ from django.forms.models import model_to_dict from django.urls import reverse from django.utils import timezone from django.utils.translation import ugettext_lazy as _ -from tinymce import models as tinymce_models from versatileimagefield.fields import VersatileImageField, PPOIField from steering.settings import THUMBNAIL_SIZES, AUTO_SET_UNTIL_DATE_TO_END_OF_YEAR, AUTO_SET_UNTIL_DATE_TO_DAYS_IN_FUTURE @@ -132,8 +131,8 @@ class Host(models.Model): is_active = models.BooleanField(_("Is active?"), default=True) email = models.EmailField(_("E-Mail"), blank=True) website = models.URLField(_("Website"), blank=True, help_text=_("URL to your personal website.")) - biography = tinymce_models.HTMLField(_("Biography"), blank=True, null=True, - help_text=_("Describe yourself and your fields of interest in a few sentences.")) + biography = models.TextField(_("Biography"), blank=True, null=True, + help_text=_("Describe yourself and your fields of interest in a few sentences.")) googleplus_url = models.URLField(_("Google+ URL"), blank=True, help_text=_("URL to your Google+ profile.")) facebook_url = models.URLField(_("Facebook URL"), blank=True, help_text=_("URL to your Facebook profile.")) twitter_url = models.URLField(_("Twitter URL"), blank=True, help_text=_("URL to your Twitter profile.")) @@ -211,8 +210,8 @@ class Show(models.Model): short_description = models.TextField(_("Short description"), help_text=_( "Describe your show for your listeners in some sentences. Avoid technical data like airing times and contact" " information. They will be added automatically.")) - description = tinymce_models.HTMLField(_("Description"), blank=True, null=True, - help_text=_("Describe your show in detail.")) + description = models.TextField(_("Description"), blank=True, null=True, + help_text=_("Describe your show in detail.")) email = models.EmailField(_("E-Mail"), blank=True, null=True, help_text=_("The main contact email address for your show.")) website = models.URLField(_("Website"), blank=True, null=True, help_text=_("Is there a website to your show? Type in its URL.")) @@ -1102,7 +1101,7 @@ class Note(models.Model): summary = models.TextField(_("Summary"), blank=True, help_text=_( "Describe your upcoming show in some sentences. Avoid technical data like airing times and contact information. They" " will be added automatically.")) - content = tinymce_models.HTMLField(_("Content"), help_text=_("Describe your upcoming show in detail.")) + content = models.TextField(_("Content"), help_text=_("Describe your upcoming show in detail.")) ppoi = PPOIField('Image PPOI') height = models.PositiveIntegerField('Image Height', blank=True, null=True, editable=False) width = models.PositiveIntegerField('Image Width', blank=True, null=True, editable=False)