Skip to content

Commit

Permalink
Add www/py-django-ckeditor - CKEditor 5 for Django >= 2.0
Browse files Browse the repository at this point in the history
PR:		254833
Reported by:	gettoknowmi <gettoknowmi@yahoo.com>
  • Loading branch information
dlangille committed Apr 20, 2021
1 parent fbb4f5c commit c02c79f
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions www/Makefile
Expand Up @@ -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
Expand Down
18 changes: 18 additions & 0 deletions 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 <bsd.port.mk>
3 changes: 3 additions & 0 deletions 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
10 changes: 10 additions & 0 deletions 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

0 comments on commit c02c79f

Please sign in to comment.