pdf文档 django cms 3.6.x Documentation

1.63 MB 278 页 0 评论
语言 格式 评分
英语
.pdf
3
摘要
The document provides detailed information about the version requirements and release notes for Django CMS 3.6.x. It highlights the introduction of support for Django 2.0 and 2.1, the removal of support for Django versions older than 1.11, and various improvements and bug fixes. The release notes also include updates to the toolbar API, improvements to the user interface, and new features such as per-namespace Apphook configurations. The document emphasizes the importance of careful upgrades, database backups, and compatibility considerations.
AI总结
### Django CMS 3.6.x 版本总结 #### 1. 版本更新信息 - **3.6.1 版本** - **新增功能**:修复了一个安全漏洞,涉及 `plugin_type` URL 参数,防止插入 JavaScript 代码。 - **3.6.0 版本** - **新增功能**: - 支持 Django 2.0 和 Django 2.1。 - 移除了对 Django 1.11 以下版本的支持。 - 增加了 `page_title` 参数用于 `cms.api.create_page()` 和 `cms.api.create_title()`。 - 将 `Title.meta_description` 的长度限制从模型移动到表单,字段长度增加到 320 个字符。 - **移除的功能**: - 移除了 Page、Title、Placeholder 和 CMSPlugin 模型的信号处理程序。 - 移除了 `cms moderator` 命令。 - 移除了 CMSPlugin 模型的可翻译内容的 `get` 和 `set` 方法。 #### 2. 兼容性 - **Django 版本兼容性** - 支持的 Django 版本:1.11、2.0、2.1。 - 不再支持 Django 1.10 及以下版本。 - **Python 版本兼容性** - 支持的 Python 版本:2.6、2.7、3.3、3.4、3.5、3.6。 #### 3. 功能改进 - **工具栏 API**:扩展了工具栏 API,支持更强大的功能,例如“剪贴板”样式的操作。 - **页面树和视图限制**:改进了页面树中视图限制的加载机制,优化了查询性能。 - **多语言支持**:Placeholder 的语言回显默认启用 (`language_fallback` 在 `CMS_PLACEHOLDER_CONF` 中默认为 `True`)。 - **模板标签**:新增了 `render_model_add_block` 模板标签,允许自定义编辑图标(不仅仅是图片)。 #### 4. 已知问题与修复 - **3.6.1 版本**:修复了安全漏洞,建议用户及时升级。 - **3.6.0 版本**:移除了一些已弃用的功能,用户需调整相关代码。 - **其他版本**:修复了多项与兼容性、性能和用户体验相关的问题,例如页面树操作、表单验证、缓存处理等。 #### 5. 升级注意事项 - 升级前请备份数据库。 - 移除的功能可能会影响旧代码,需进行调整。 - 建议查看详细的升级指南和依赖项信息。 #### 6. 安全注意事项 - 修复了多个安全漏洞,建议用户及时更新到最新版本。 以上为 Django CMS 3.6.x 的核心内容,重点突出了版本更新、功能改进、兼容性变化及安全注意事项。
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余 266 页请下载阅读 -
文档评分
请文明评论,理性发言.