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

David 28c104ff63 Fixed 2.6.3 date in Changelog and updated username on Contributors 5 年之前
.circleci c875df67a2 Nightly: Add script for testing nightly builds 5 年之前
.github e191582b94 Add a "Dashboard" label for logo link in the main nav for screen reader users (#5349) 5 年之前
.tx d5bc3c92d2 Fetch new translations and update config for Chinese (#3668) 5 年之前
client 3bd058f9d8 Rename _utilities.hidden.legacy.scss to _utilities.visuallyhidden.scss (#5404) 5 年之前
docs 9eafab0f48 Release note for #5643 in 2.6.3 5 年之前
etc 5738f0dae4 Also fix /media/images/ path 5 年之前
gulpfile.js 2668c05146 Rearrange SCSS structure according to ITCSS 5 年之前
scripts 191a47e4bc Nightly: Keep latest.json public when updating 5 年之前
wagtail 53f5b1a96b Ensure admin API always uses SessionAuthentication backend 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 647f2c1d1d Fix Redux DevTools deprecation warning (#5231). Fix #5214 5 年之前
.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 8d10c4688e Update squash user details to be more portable 5 年之前
.stylelintrc.yaml bbbb70ae65 Remove explicit stylelint-scss requirement & upgrade config pkg to v0.1.0 5 年之前
.travis.yml a304f0f9f8 Remove support for Python 3.4 5 年之前
CHANGELOG.txt 28c104ff63 Fixed 2.6.3 date in Changelog and updated username on Contributors 5 年之前
CODE_OF_CONDUCT.md 03c623b467 Add Contributor Covenant 8 年之前
CONTRIBUTORS.rst 28c104ff63 Fixed 2.6.3 date in Changelog and updated username on Contributors 5 年之前
LICENSE a3f2748c5d Makes LICENSE recognized by GitHub. 5 年之前
MANIFEST.in ee661ab6f8 README rewrite (#4372) 6 年之前
Makefile d03642dd38 Configure jinjalint to enforce errors, while filtering-out false positives 5 年之前
README.md 377259f068 Make license more prominent 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 998440cfa9 Remove buggy tab order customisations in CMS admin (#5383, #5351) 5 年之前
package.json bbbb70ae65 Remove explicit stylelint-scss requirement & upgrade config pkg to v0.1.0 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 3022231205 Fix broken pipenv/docutils dependency on CircleCI 5 年之前
tox.ini a304f0f9f8 Remove support for Python 3.4 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.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.

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.

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 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