Source

django-ckeditor /

Filename Size Date modified Message
ckeditor
123 B
1.5 KB
131 B
1.0 KB
35 B
1.3 KB

Django CKEditor

Django CKEditor contains the JavaScript WYSIWYG editor, CKEditor and functionality for uploading and browsing files on your server.

Installation

Run pip install hg+https://bitbucket.org/nextscreenlabs/django-ckeditor

Add ckeditor to your INSTALLED_APPS setting:

INSTALLED_APPS = (
    ...
    'ckeditor',
)

To your sites url.py add:

urlpatterns = patterns('',
    ...
    url(r'^ckeditor/', include('ckeditor.urls')),
)

Views

upload

Uploads a file from the CKEditor insert image dialog's upload section to a user-specified path using the default storage.

browse

Displays image thumbnails from the CKEditor insert image dialog's browse section.

Settings

CKEDTIOR_UPLOAD_DIRECTORY (default 'ckeditor')

The directory the uploads are saved to and files are browsed from.