wagtail

Django 内容管理系统,专注于灵活性和用户体验。(A Django content management system focused on flexibility and user experience.)

Github stars Tracking Chart

Wagtail 是一个基于 Django 构建的开源内容管理系统,具有强大的社区和商业支持。它专注于用户体验,并为设计人员和开发人员提供精确控制。

特性

  • 为作者提供快速,有吸引力的界面
  • 完全控制前端设计和结构
  • 扩展到数百万页和数千个编辑器
  • 开箱即用,在需要时可以缓存
  • 具有去耦前端的“无头”网站的内容 API
  • 在 Raspberry Pi 或多数据中心云平台上运行
  • StreamField 鼓励灵活的内容,而不会影响结构
  • 功能强大的集成搜索,使用 Elasticsearch 或 PostgreSQL
  • 对图像和嵌入内容的出色支持
  • 准备好多站点和多语言
  • 拥抱和扩展 Django

wagtail.io 了解更多信息。

入门

Wigtail 可以在任何平台上使用 Python 3。

要开始使用 Wagtail,请在虚拟环境中运行以下命令:

pip install wagtail
wagtail start mysite
cd mysite
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

有关详细的安装和设置文档,请参阅 docs.wagtail.io。

谁在使用它?

Wagtail 被美国国家航空航天局,谷歌,乐施会,NHS,Mozilla,麻省理工学院,红十字会,Salesforce,NBC,宝马以及美国和英国政府使用。将您自己的 Wagtail 网站添加到 madewithwagtail.org。

文档

docs.wagtail.io 是 Wagtail 的完整参考,包括开发人员、设计人员和编辑人员的指南,以及发行说明和路线图。

兼容性

Wagtail 支持:

  • Django 2.0.x, 2.1.x and 2.2.x
  • Python 3.5, 3.6 and 3.7
  • PostgreSQL,MySQL 和 SQLite作为数据库后端

Wagtail 以前的版本(1.13 和更早的版本)还支持 Python 2.7 和 Django 1.x。

Main metrics

Overview
Name With Ownerwagtail/wagtail
Primary LanguagePython
Program languageMakefile (Language Count: 10)
PlatformBSD, Linux, Mac, Windows
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2014-02-03 12:41:59
Pushed At2025-07-01 15:52:26
Last Commit At
Release Count265
Last Release Namev7.0.1 (Posted on )
First Release Namev0.1 (Posted on 2014-02-09 14:21:30)
用户参与
Stargazers Count19.4k
Watchers Count335
Fork Count4.1k
Commits Count19k
Has Issues Enabled
Issues Count5303
Issue Open Count853
Pull Requests Count4095
Pull Requests Open Count109
Pull Requests Close Count3272
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

Wagtail is an open source content management system built on Django, with a strong community and commercial support. It's focused on user experience, and offers precise control for designers and developers.

Wagtail screenshot

Features

  • A fast, attractive interface for authors
  • Complete control over front-end design and structure
  • Scales to millions of pages and thousands of editors
  • Fast out of the box, cache-friendly when you need it
  • Content API for 'headless' sites with de-coupled front-end
  • Runs on a Raspberry Pi or a multi-datacenter cloud platform
  • StreamField encourages flexible content without compromising structure
  • Powerful, integrated search, using Elasticsearch or PostgreSQL
  • Excellent support for images and embedded content
  • Multi-site and multi-language ready
  • Embraces and extends Django

Find out more at wagtail.io.

Getting started

Wagtail works with Python 3, on any platform.

To get started with Wagtail, run the following in a virtual environment:

pip install wagtail
wagtail start mysite
cd mysite
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

For detailed installation and setup docs, see docs.wagtail.io.

Who’s using it?

Wagtail is used by NASA, Google, Oxfam, the NHS, Mozilla, MIT, the Red Cross, Salesforce, NBC, BMW, and the US and UK governments. Add your own Wagtail site to madewithwagtail.org.

Documentation

docs.wagtail.io is the full reference for Wagtail, and includes guides for developers, designers and editors, alongside release notes and our roadmap.

Compatibility

(If you are reading this on GitHub, the details here may not be indicative of the current released version - please see Compatible Django / Python versions in the Wagtail documentation.)

Wagtail supports:

  • Django 2.2.x and 3.0.x
  • Python 3.5, 3.6, 3.7 and 3.8
  • PostgreSQL, MySQL and SQLite as database backends

Previous versions of Wagtail additionally supported Python 2.7 and Django 1.x.


Community Support

There is an active community of Wagtail users and developers responding to questions on Stack Overflow. When posting questions, please read Stack Overflow's advice on how to ask questions and remember to tag your question "wagtail".

For topics and discussions that do not fit Stack Overflow's question and answer format, we have a Slack workspace and a Wagtail Support mailing list. Please respect the time and effort of volunteers by not asking the same question in multiple places.

We maintain a curated list of third party packages, articles and other resources at Awesome Wagtail.

Commercial Support

Wagtail is sponsored by Torchbox. If you need help implementing or hosting Wagtail, please contact us: hello@torchbox.com. See also madewithwagtail.org/developers/ for expert Wagtail developers around the world.

Security

We take the security of Wagtail, and related packages we maintain, seriously. If you have found a security issue with any of our projects please email us at security@wagtail.io so we can work together to find and patch the issue. We appreciate responsible disclosure with any security related issues, so please contact us first before creating a Github issue.

If you want to send an encrypted email (optional), the public key ID for security@wagtail.io is 0x6ba1e1a86e0f8ce8, and this public key is available from most commonly-used keyservers.

Release schedule

Feature releases of Wagtail are released every three months. Selected releases are designated as Long Term Support (LTS) releases, and will receive maintenance updates for an extended period to address any security and data-loss related issues. For dates of past and upcoming releases and support periods, see Release Schedule.

Nightly releases

To try out the latest features before a release, we also create builds from master every night. You can find instructions on how to install the latest nightly release at https://releases.wagtail.io/nightly/index.html

Contributing

If you're a Python or Django developer, fork the repo and get stuck in! We run a separate group for developers of Wagtail itself at https://groups.google.com/forum/#!forum/wagtail-developers (please note that this is not for support requests).

You might like to start by reviewing the contributing guidelines and checking issues with the good first issue label.

We also welcome translations for Wagtail's interface. Translation work should be submitted through Transifex.

License

BSD

Thanks

We thank the following organisations for their services used in Wagtail's development:

Browserstack
BrowserStack provides the project with free access to their live web-based browser testing tool, and automated Selenium cloud testing.

squash.io
Squash provides the project with free test environments for reviewing pull requests.

Build Status
License
Version
Coverage
Total alerts
Language grade: Python
Language grade: JavaScript
Slack