Wagtail
2.11
起步
基础开发指南
高级开发指南
图片
文档
嵌入内容
现有 Django 项目增加 Wagtail
部署 Wagtail 项目
性能
国际化
私有页面
定制 Wagtail
第三方教程
支持 Jinja2 模板
测试 Wagtail 网站
Wagtail API
构建支持 AMP 的网站
增添报告
增加新任务类型
审计日志
参考内容
技术支持
编辑人员操作手册
为 Wagtail 作贡献
Wagtail
»
高级开发指南
View page source
高级开发指南
¶
图片
Generating renditions in Python
Animated GIF support
Image file formats
Custom image models
Changing rich text representation
Feature Detection
Dynamic image serve view
文档
Custom document model
嵌入内容
Embedding content on your site
Configuring embed “finders”
The
Embed
model
现有 Django 项目增加 Wagtail
Middleware (
settings.py
)
Apps (
settings.py
)
URL Patterns
Ready to Use Example Configuration Files
部署 Wagtail 项目
On your server
On Divio Cloud
On PythonAnywhere
On Google Cloud
On other PAASs and IAASs
Deployment tips
性能
Editor interface
Public users
国际化
Multi-language content
Alternative internationalisation plugins
Wagtail admin translations
Change Wagtail admin language on a per-user basis
Changing the primary language of your Wagtail installation
私有页面
Setting up a login page
Setting up a global “password required” page
Setting a “password required” page for a specific page type
定制 Wagtail
Customising the editing interface
Rich text internals
Extending the Draftail Editor
Extending the Hallo Editor
Customising admin templates
Custom user models
第三方教程
支持 Jinja2 模板
Configuring Django
self
in templates
Template tags, functions & filters
测试 Wagtail 网站
WagtailPageTests
Form data helpers
Fixtures
Wagtail API
Wagtail API v2 Configuration Guide
Wagtail API v2 Usage Guide
构建支持 AMP 的网站
Overview
Creating the second page tree
Making pages aware of “AMP mode”
Write a template context processor so that AMP state can be checked in templates
Using a different page template when AMP mode is active
Overriding the
{%
image
%}
tag to output
<amp-img>
tags
增添报告
Defining your report
Adding a menu item and admin URL
The full code
增加新任务类型
Task models
Custom TaskState models
Customising behaviour
Adding notifications
审计日志
Log actions provided by Wagtail