django-cked 0.1.0

CKEditor and elFinder integration for Django Framework.

<object data="https://pypip.in/version/django-cked/badge.svg" type="image/svg+xml">Latest Version</object> <object data="https://pypip.in/download/django-cked/badge.svg" type="image/svg+xml">Downloads</object> <object data="https://pypip.in/py_versions/django-cked/badge.svg" type="image/svg+xml">Supported Python versions</object> <object data="https://pypip.in/status/django-cked/badge.svg" type="image/svg+xml">Development Status</object> <object data="https://pypip.in/license/django-cked/badge.svg" type="image/svg+xml">License</object>

CKEditor and elFinder integration for Django Framework.

Provides a RichTextField and CKEditorWidget with upload and browse support.

Installation

pip install django-cked

or

pip install -e hg+https://bitbucket.org/CWTeam/django-cked#egg=django-cked

Demo

We have prepared a demo project is available on the link https://github.com/DOOMer/django-cked-demo to demonstrate the application.

Configuration

Add cked to your INSTALLED_APPS setting.

Then set ELFINDER_OPTIONS in your settings:

ELFINDER_OPTIONS = {
    ## required options
    'root': os.path.join(PROJECT_ROOT, 'media', 'uploads'),
    'URL': '/media/uploads/',
}

And add CKEd URL include to your project urls.py file:

url(r'^cked/', include('cked.urls')),

Settings

Usage

Model field

from django.db import models
from cked.fields import RichTextField


class Entry(models.Model):
    text = RichTextField()

Widget

from django import forms
from cked.widgets import CKEditorWidget

class MyForm(forms.Form):
    text = forms.CharField(widget=CKEditorWidget)

NOTE: If you are using custom forms, dont’r forget to include form media to your template:

{{ form.media }}
BSD

Author

Ivan Gorochov

Pip

django-cked==0.1.0

Classifiers

  • Programming Language :: Python :: 3.4
  • Programming Language :: Python :: 2.7
  • License :: OSI Approved :: BSD License
  • Framework :: Django
  • Development Status :: 5 - Production/Stable
File Type Python Version Uploaded On Downloads
django-cked-0.1.0.zip Source Sept. 20, 2014 417
Version Release Date
0.1.0 Sept. 20, 2014
0.0.9 Sept. 7, 2014
0.0.8 March 14, 2013
0.0.7 Feb. 6, 2013
0.0.6 Jan. 19, 2013
0.0.5 Jan. 18, 2013
0.0.4 Jan. 18, 2013
0.0.3 Jan. 18, 2013
0.0.2 Jan. 18, 2013
0.0.1 Jan. 18, 2013
0.0.0.1 Jan. 18, 2013
Date Package Version Action
Nov. 4, 2014, 12:59 p.m. django-cked 0.0.0.1 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked 0.1.0 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked 0.0.8 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked 0.0.9 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked 0.0.2 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked 0.0.3 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked 0.0.1 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked 0.0.6 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked 0.0.7 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked 0.0.4 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked 0.0.5 Release Created
Nov. 4, 2014, 12:59 p.m. django-cked Package Created