Skip to main content

light intergate Baidu Ueditor & Tornado

Project description

ueditor4tornado
功能

ueditor4tornado 集成了Ueditor 1.4.3实现了部分上传的文件接口:

*1.图片上传

*2.文件上传

*3.涂鸦板上传
目前为简单实现,使用本地文件系统作为存储。在非NAS存储的场景下只支持单实例运行。

使用方法:

pip install ueditor4tornado
在IOLoop.instance().start()之前调用

import ueditor4tornado
ueditor4tornado.registerHandler(application,withStatics=True)
如果statics文件使用nginx服务的情况:设置

withStatics=false
HTML的配置在sample/templates/ueditor.html有示例。

不清楚的情况可以直接运行本项目下的sample工程查看效果。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ueditor4tornado, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size ueditor4tornado-0.1.1.zip (2.9 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page