diff --git a/www/Makefile b/www/Makefile index 262e6e9a3515f..dd0baed80688f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1469,6 +1469,7 @@ SUBDIR += py-django-bulk-update SUBDIR += py-django-cacheops SUBDIR += py-django-classy-tags + SUBDIR += py-django-ckeditor-5 SUBDIR += py-django-cms SUBDIR += py-django-common-helpers SUBDIR += py-django-compat diff --git a/www/py-django-ckeditor-5/Makefile b/www/py-django-ckeditor-5/Makefile new file mode 100644 index 0000000000000..f8c05d28d1b5d --- /dev/null +++ b/www/py-django-ckeditor-5/Makefile @@ -0,0 +1,18 @@ +PORTNAME= django-ckeditor-5 +PORTVERSION= 0.0.13 +CATEGORIES= www editors +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= gettoknowmi@yahoo.com +COMMENT= Django ckeditor-5 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/www/py-django-ckeditor-5/distinfo b/www/py-django-ckeditor-5/distinfo new file mode 100644 index 0000000000000..f9b082048b5d5 --- /dev/null +++ b/www/py-django-ckeditor-5/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1618935386 +SHA256 (django-ckeditor-5-0.0.13.tar.gz) = 8f5ebaeec2639ce1b4c39da176bc62aca237d892b900d1d7fa32250be0bcaaa3 +SIZE (django-ckeditor-5-0.0.13.tar.gz) = 1479279 diff --git a/www/py-django-ckeditor-5/pkg-descr b/www/py-django-ckeditor-5/pkg-descr new file mode 100644 index 0000000000000..0da552d47e2b6 --- /dev/null +++ b/www/py-django-ckeditor-5/pkg-descr @@ -0,0 +1,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