基于 Python 知名 Web 框架 Django 实现的无头内容管理系统,拥有清爽的 UI 和简洁易用的编辑器。独特的 StreamField 技术,可以让内容排版灵活又不失结构,再加上强大的多语言系统,让它在众多开源 CMS 中脱颖而出。

Matt Westcott f94869c5f1 Fill in release date for 2.5.2 5 年之前
.circleci 3134ffa119 Recommend `npm install --no-save` when setting up node toolchain (#5161) 5 年之前
.github df12cf9656 Ask issue openers to confirm that bugs are reproducible 6 年之前
.tx d5bc3c92d2 Fetch new translations and update config for Chinese (#3668) 5 年之前
client f987fa91c9 Upgrade Draftail to v1.2.1. Fix #4985, adds more Markdown shortcuts (#5117) 5 年之前
docs f94869c5f1 Fill in release date for 2.5.2 5 年之前
etc 5738f0dae4 Also fix /media/images/ path 5 年之前
gulpfile.js 8ea95c5841 Convert the search query chooser to use static onload handlers 6 年之前
scripts d5bc3c92d2 Fetch new translations and update config for Chinese (#3668) 5 年之前
wagtail 6deb5a8656 Delay dirty form check data snapshot to avoid race conditions. Fix #4978 (#5469) 5 年之前
.coveragerc 8f8faf3c60 Fixed some formatting in 'Customising IndexView' doc. (#4877) 6 年之前
.editorconfig 6ba34636cb Fix whitespace errors in docs 8 年之前
.eslintignore ad5a3bbdc2 Remove unused React component generator 6 年之前
.eslintrc 2ff4a5aad1 Update explorer for latest scope, UI, with tests 7 年之前
.gitignore 2044b7e930 Add panel configuration checks (#5093) 5 年之前
.nvmrc 91490566c2 Replace references to Node versions 7 年之前
.readthedocs.yml 5b8031ee18 Move readthedocs.yml to project root 6 年之前
.squash.yml b1fab70847 added --no-save option from master branch 5 年之前
.stylelintrc.yaml 29254270a6 Ignore build folder for CSS linting (#4264) 6 年之前
.travis.yml a3283dd7fb Formalise support for Django 2.2 5 年之前
CHANGELOG.txt f94869c5f1 Fill in release date for 2.5.2 5 年之前
CODE_OF_CONDUCT.md 03c623b467 Add Contributor Covenant 8 年之前
CONTRIBUTORS.rst 67fad354c5 Fetch new translations from Transifex 5 年之前
LICENSE aeef5a5454 Make license perpetual 7 年之前
MANIFEST.in ee661ab6f8 README rewrite (#4372) 6 年之前
Makefile 3134ffa119 Recommend `npm install --no-save` when setting up node toolchain (#5161) 5 年之前
README.md 520d7952a7 Update and clarify installation instructions 5 年之前
appveyor.yml ac80812d88 Remove unsupported environments from appveyor config 7 年之前
codecov.yml 6dba61fc3a Disable codecov coverage checks on PRs 5 年之前
conftest.py b3f1f50fba Use LocaleMiddleware's language as fallback language for user profiles w/o prefferred language 6 年之前
package-lock.json f987fa91c9 Upgrade Draftail to v1.2.1. Fix #4985, adds more Markdown shortcuts (#5117) 5 年之前
package.json f987fa91c9 Upgrade Draftail to v1.2.1. Fix #4985, adds more Markdown shortcuts (#5117) 5 年之前
runtests.py e5a4208774 Add rudimentary benchmarking code and a couple of benchmarks 6 年之前
setup.cfg 33e290b82d Fix linting failures for flake8 3.6 6 年之前
setup.py 92a1e7918a Bump django-taggit to 0.24 5 年之前
tox.ini a3283dd7fb Formalise support for Django 2.2 5 年之前

README.md

Wagtail

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

Wagtail supports:

  • Django 2.0.x, 2.1.x and 2.2.x
  • Python 3.4, 3.5, 3.6 and 3.7
  • PostgreSQL, MySQL and SQLite as database backends

Previous versions of Wagtail (1.13 and earlier) 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.

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.

Thanks

We thank BrowserStack, who provide the project with free access to their live web-based browser testing tool, and automated Selenium cloud testing.

Browserstack

Build Status License Version Coverage Slack