aboutsummaryrefslogtreecommitdiff
path: root/www/py-django-ckeditor-5/pkg-descr
blob: 0da552d47e2b613d1e67c37cdac6851c44d49cfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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')

WWW: https://github.com/hvlads/django-ckeditor-5