settings: use pillow for ckeditor thumbnails (#11175)
This adds support for more file types, including thumbnails of PDF files.
This commit is contained in:
parent
5b2a5da4e8
commit
1dbda6fa72
|
@ -130,7 +130,7 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
|||
MEDIA_URL = '/media/'
|
||||
|
||||
CKEDITOR_UPLOAD_PATH = 'uploads/'
|
||||
|
||||
CKEDITOR_IMAGE_BACKEND = 'pillow'
|
||||
CKEDITOR_CONFIGS = {
|
||||
'default': {
|
||||
'allowedContent': True,
|
||||
|
|
Loading…
Reference in New Issue