Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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工程查看效果。

Release History

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 Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting