blob: 034ff7e881a431a0bf2d2285791a81e36da2ab7d (
plain) (
blame)
1
2
3
4
5
6
7
8
|
Add to your models.py:
from django.db import models
from django_ckeditor_5.fields import CKEditor5Field
class Article(models.Model):
title=models.CharField('Title', max_length=200)
text=CKEditor5Field('Text', config_name='extends')
|