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

Matt Westcott 86746c390e Fill in release date for 2.13.5 3 年之前
.circleci e99c07a42e upgrade circleci python image to see if it fixes sqlite compatibility 3 年之前
.github 90f09929fc Pin psycopg to <2.9 when testing against Django <3.1 3 年之前
.tx afee4e7e56 Add translations for simple_translation app 3 年之前
client 544fef7943 Prevent comments CSS from overriding custom colours 3 年之前
docs 86746c390e Fill in release date for 2.13.5 3 年之前
etc dd42d91663 Release note / additional fix for #6339 4 年之前
gulpfile.js 8e79c61564 Implement CSS variables for admin color theming (#6409) 3 年之前
scripts 4d6a41a83b Drop travis entirely 4 年之前
wagtail 64dcdccd0b Correctly handle non-numeric user IDs for deleted users in reports 3 年之前
.coveragerc 314a926f75 Update Python and JS test coverage collection to exclude tests 4 年之前
.editorconfig 24ef0e62e6 Fix documentation indentation 3 年之前
.eslintignore ad5a3bbdc2 Remove unused React component generator 6 年之前
.eslintrc fd563b6adf Use TypeScript configuration for all JS linting (#6862) 3 年之前
.gitignore 2044b7e930 Add panel configuration checks (#5093) 5 年之前
.nvmrc 6ea0cc52f3 Upgrade to Gulp v4 & Node 10 4 年之前
.pre-commit-config.yaml f478cd54d7 Add pre-commit support 4 年之前
.readthedocs.yml ff47c58d65 Drop support for Python 3.5 4 年之前
.squash.yml c58a681828 Optimise npm install in squash for speed & logs visibility (#6158) 4 年之前
.stylelintrc.yaml 897ef63b01 Ignore venv from stylelint 3 年之前
CHANGELOG.txt 86746c390e Fill in release date for 2.13.5 3 年之前
CODE_OF_CONDUCT.md 229103ff2e Update links in documentation. (#5689) 5 年之前
CONTRIBUTORS.rst 9e9c722971 Fetch new translations from Transifex 3 年之前
LICENSE a3f2748c5d Makes LICENSE recognized by GitHub. 5 年之前
MANIFEST.in ee661ab6f8 README rewrite (#4372) 6 年之前
Makefile 878f2784cb Add config section for doc8 in setup.cfg and ignore _build dir 4 年之前
README.md 8f5a2a8fe9 Formalise support for Django 3.2 3 年之前
SECURITY.md 7fcd6e6890 Add SECURITY.md (#5536) 5 年之前
SPONSORS.md 229103ff2e Update links in documentation. (#5689) 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 55b41ae1ff IE11 support for commenting (#7057) 3 年之前
package.json 55b41ae1ff IE11 support for commenting (#7057) 3 年之前
runtests.py 6e1e36256a Remove elasticsearch 2 support 4 年之前
setup.cfg 71829dac77 Ignore venv during in isort 3 年之前
setup.py fca4cfc477 Make comments relation name configurable with a setting 3 年之前
tox.ini 6903989f47 Test on Django 3.2, stable and main branch 3 年之前
tsconfig.json bbbc31ff60 Merge Wagtail Comment Frontend (#6953) 3 年之前

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

(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, 3.0.x, 3.1.x and 3.2.x
  • Python 3.6, 3.7, 3.8 and 3.9
  • 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 main 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 have several developer focused channels on the Slack workspace.

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 Slack