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!

A Pyramid application for Baidu Ueditor.

Project Description

本模块帮助在Pyramid应用中集成百度Ueditor HTML编辑器.

说明:采用 Ueditor 1.4.3 封装了一层接口,实现图片、涂鸦、附件、视频、截图上传 在线文件待续

1、安装方法

  • 方法一:将github整个源码包下载回家,在命令行运行:
    python setup.py install
  • 方法二:使用pip工具在命令行运行(推荐):
    pip install PyramidUeditor

2、配置urls

from pyramid.static import static_view

from pyramid_ueditor.settings import UEDITOR_STATIC_ROOT

config.include(‘pyramid_ueditor’)

config.add_static_view(‘uestatic’, path=UEDITOR_STATIC_ROOT, cache_max_age=3600)

3、修改pyramid_ueditor.pyramid_ueditor.settings.py

UEDITOR_UPLOAD_ROOT 为上传路径。可进行修改

4、自带的访问方式

/ueditor/

Release History

Release History

This version
History Node

1.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyramidueditor-1.0.1.tar.gz (3.3 MB) Copy SHA256 Checksum SHA256 Source Jun 5, 2015

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting