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.

Source Distribution

ueditor4tornado-0.1.1.zip (2.9 MB view details)

Uploaded Source

File details

Details for the file ueditor4tornado-0.1.1.zip.

File metadata

  • Download URL: ueditor4tornado-0.1.1.zip
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ueditor4tornado-0.1.1.zip
Algorithm Hash digest
SHA256 fa601bad3ff63a2f34e767a558c43202a010e5e357a2393a8dd0b2fe1a278275
MD5 f8f140289e70ecbcd5035aa2f7e69cd1
BLAKE2b-256 5b02b3de003cc802d273e35f617f8cac5eb111483e49b9ef85c483ef3ed8caf7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page