[Django]-How to use django-ckeditor to upload files and browser files on server in admin?

12👍

Replace RichTextField('contents') on RichTextUploadingField('contents')
and add next line

from ckeditor_uploader.fields import RichTextUploadingField

0👍

from ckeditor_uploader.fields import RichTextUploadingField

and

change to content = RichTextUploadingField('contents')

then add Update to CKEDITOR_CONFIGS

looks like

['Image', 'Update', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak'],

Leave a comment