CKEditor Migration Successfully Completed

This commit is contained in:
Maximilian 2025-06-07 20:10:08 +02:00
parent 78fadaa1da
commit b860590127
11 changed files with 148 additions and 56 deletions

View file

@ -5,7 +5,7 @@ from django.conf import settings
from django.db import models
from django.utils.translation import gettext_lazy as _
from ckeditor.fields import RichTextField
from django_ckeditor_5.fields import CKEditor5Field
from aviary.models import Aviary
@ -125,7 +125,7 @@ class Bird(models.Model):
name = models.CharField(
max_length=256, unique=True, verbose_name=_("Bezeichnung")
)
description = RichTextField(verbose_name=_("Erläuterungen"), blank=True, null=True)
description = CKEditor5Field(verbose_name=_("Erläuterungen"), blank=True, null=True)
species = models.CharField(
max_length=256, blank=True, null=True, verbose_name=_("Art")
)