Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

0.1.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ueditor4tornado-0.1.1.zip (2.9 MB) Copy SHA256 hash SHA256 Source None Sep 10, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page