Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add www/py-django-ckeditor - CKEditor 5 for Django >= 2.0
PR: 254833 Reported by: gettoknowmi <gettoknowmi@yahoo.com>
- Loading branch information
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |