Django項目之CKEditor富文本編輯器

1. 安裝 pip install django-ckeditor 2. 添加應用 在INSTALLED_APPS中添加 INSTALLED_APPS = [ ... 'ckeditor', # 富文本編輯器 'ckeditor_uploader', # 富文本編輯器上傳圖片模塊 ... ] 3. 添加CKEditor設置 在settings/dev.py中添加
相關文章
相關標籤/搜索