mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
Add www/py-django-ckeditor - CKEditor 5 for Django >= 2.0
PR: 254833 Reported by: gettoknowmi <gettoknowmi@yahoo.com>
This commit is contained in:
parent
fbb4f5c70c
commit
c02c79f731
@ -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
|
||||
|
18
www/py-django-ckeditor-5/Makefile
Normal file
18
www/py-django-ckeditor-5/Makefile
Normal file
@ -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
www/py-django-ckeditor-5/distinfo
Normal file
3
www/py-django-ckeditor-5/distinfo
Normal file
@ -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
www/py-django-ckeditor-5/pkg-descr
Normal file
10
www/py-django-ckeditor-5/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user