-
在Django中使用python3将ueditor进行集成,实现django-ueditor
资源介绍
django-ueditor
Integrated ueditor to Django with python3
Prerequisities:
UEditor() PHP utf-8版()
python3.5 ()
django-1.8 ()
Usage:
下载此APP到django的根目录(目前还没有实现自动安装)
settings:
INSTALLED_APPS = (
...
"djangoueditor",
)
3. urls:
urlpatterns = [
...
url(r'^ueditor/', include("djangoueditor.urls")),
]
4. models:
from djangoueditor.fields import UEditorField
demo = UEditorField(upload_to="demodir", ...)
con
- 上一篇: ueditor二次开发Java源码
- 下一篇: python2.0与3.0的区别