Không có mô tả

Bartosz Cieliński 39d1bc816d Ensure Draftail features wrap in case there is a lot of added features 2 tuần trước cách đây
.circleci a199096af3 Attempt to fix CircleCI pipenv cache issues 1 tháng trước cách đây
.github 27b972d30f Add support for Python 3.13 1 tháng trước cách đây
.tx 5f41356dbe Remove modeladmin references from transifex config and eslintrc 1 năm trước cách đây
client 39d1bc816d Ensure Draftail features wrap in case there is a lot of added features 2 ngày trước cách đây
docs 39d1bc816d Ensure Draftail features wrap in case there is a lot of added features 2 ngày trước cách đây
etc dd42d91663 Release note / additional fix for #6339 4 năm trước cách đây
scripts 98545cd176 Fetch translations from Transifex 4 tuần trước cách đây
wagtail a0953115df Ensure cloudfront purges are called with lists 1 tuần trước cách đây
.babelrc.json b7d2618d93 Remove Safari 14 support in Wagtail admin – update browserslist and TypeScript (#11258) 11 tháng trước cách đây
.coveragerc 0a7fd3f64e Add concurrency setting to coverage configuration 1 năm trước cách đây
.editorconfig bf9d062484 Prevent future issues with icon.html end-of-file newlines 10 tháng trước cách đây
.eslintignore 3f72b3ebf4 Prettier/Eslint - ignore storybook build folder - see #10089 1 năm trước cách đây
.eslintrc.js 0294dd1dd1 Changed Button to Link, and removed unnecessary props 9 tháng trước cách đây
.git-blame-ignore-revs 2ce16fd365 Add PR number to git-blame-ignore-revs comment for ruff formatting 1 năm trước cách đây
.gitignore 14c2150f29 Add generated `test-media` to .gitignore 2 tháng trước cách đây
.nvmrc 570b9a410c Upgrade to Node 20 1 năm trước cách đây
.pre-commit-config.yaml 4f78cced7f Speed up semgrep on pre-commit (#11927) 7 tháng trước cách đây
.prettierignore 3f72b3ebf4 Prettier/Eslint - ignore storybook build folder - see #10089 1 năm trước cách đây
.readthedocs.yml 0d4d59765b Lower docs search ranking for release notes (#12586) 1 tuần trước cách đây
.semgrep.yml ff7e016eb5 Patch number formatting functions during tests to flag up potential USE_THOUSAND_SEPARATOR issues 3 tháng trước cách đây
.squash.yml 570b9a410c Upgrade to Node 20 1 năm trước cách đây
.stylelintignore 23bc6b2670 Upgrade to latest Sass and stylelint configuration, with needed refactorings 2 năm trước cách đây
.stylelintrc.js 6cc4533a6f Refactor float usage within admin styles. Fix #8126 11 tháng trước cách đây
CHANGELOG.txt 39d1bc816d Ensure Draftail features wrap in case there is a lot of added features 2 ngày trước cách đây
CODE_OF_CONDUCT.md 6d0659333d fix spelling - behaviour vs behavior 2 năm trước cách đây
CONTRIBUTORS.md 6a9dbdaff2 Rename tutorial blog index page to reduce the likelihood of slug issues (#12576) 1 tuần trước cách đây
LICENSE a3f2748c5d Makes LICENSE recognized by GitHub. 5 năm trước cách đây
MANIFEST.in d7ed0b2999 Remove icon font 1 năm trước cách đây
Makefile 9a2177dc19 Upgrade `ruff` and replace `black` with `ruff format` 1 năm trước cách đây
README.md f8f94475b6 Replace X links with Mastodon (#12460) 1 tháng trước cách đây
SPONSORS.md a8dcf2a492 Twitter link updated to x (#12205) 3 tháng trước cách đây
codecov.yml 1f3605b98a chore(ci): add informational Codecov status checks 2 năm trước cách đây
conftest.py 0fd99886a2 Move tests to test 2 năm trước cách đây
package-lock.json 23387fa2f6 Bump cookie and express 1 tháng trước cách đây
package.json 23d32faf36 Update NPM packages (minor only) 3 tháng trước cách đây
prettier.config.js 614defa6f9 Update npm packages (linting/testing/formatting) 1 năm trước cách đây
ruff.toml adde8b66f6 Drop support for Python 3.7 1 năm trước cách đây
runtests.py 605c9cf1a6 Drop support for Elasticsearch 5 and 6 1 năm trước cách đây
setup.cfg 459fbb2cc9 Switch to ruff for flake8 / isort code checking (#10324) 1 năm trước cách đây
setup.py ac7ce9439c Update sphinx-wagtail-theme and search implementation (#12521) 4 tuần trước cách đây
tailwind.config.js c8aeee941a Only scan src in client directory for Tailwind to prevent unnecessary rebuilds 6 tháng trước cách đây
tox.ini 27b972d30f Add support for Python 3.13 1 tháng trước cách đây
tsconfig.json 14f3d4607f Add content metrics board (#12058) 4 tháng trước cách đây

README.md

<picture>
    <source media="(prefers-color-scheme: light)" srcset=".github/wagtail.svg">
    <source media="(prefers-color-scheme: dark)" srcset=".github/wagtail-inverse.svg">
    <img width="343" src=".github/wagtail.svg" alt="Wagtail">
</picture>

<br>
<a href="https://github.com/wagtail/wagtail/actions">
    <img src="https://github.com/wagtail/wagtail/workflows/Wagtail%20CI/badge.svg" alt="Build Status" />
</a>
<a href="https://opensource.org/licenses/BSD-3-Clause">
    <img src="https://img.shields.io/badge/license-BSD-blue.svg" alt="License" />
</a>
<a href="https://pypi.python.org/pypi/wagtail/">
    <img src="https://img.shields.io/pypi/v/wagtail.svg" alt="Version" />
</a>
<a href="https://pypi.python.org/pypi/wagtail/">
    <img src="https://img.shields.io/pypi/dm/wagtail?logo=Downloads" alt="Monthly downloads" />
</a>
<a href="https://fosstodon.org/@wagtail">
    <img src="https://img.shields.io/mastodon/follow/109308882653647818?domain=https%3A%2F%2Ffosstodon.org&style=social" alt="Follow @wagtail@fosstodon.org">
</a>

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 decoupled 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.org.

👉 Getting started

Wagtail works with Python 3, on any platform.

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

Installing 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

For detailed installation and setup docs, see the getting started tutorial.

👨‍👩‍👧‍👦 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.org is the full reference for Wagtail, and includes guides for developers, designers and editors, alongside release notes and our roadmap.

For those who are new to Wagtail, the Zen of Wagtail will help you understand what Wagtail is, and what Wagtail is not.

For developers who are ready to jump in to their first Wagtail website the Getting Started Tutorial will guide you through creating and editing your first page.

Do you have an existing Django project? The Wagtail Integration documentation is the best place to start.

📌 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 4.2.x, 5.0.x and 5.1.x
  • Python 3.9, 3.10, 3.11, 3.12 and 3.13
  • PostgreSQL, MySQL, MariaDB and SQLite (with JSON1) as database backends

Previous versions of Wagtail additionally supported Python 2.7, 3.8 and earlier Django versions.


📢 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. Please respect the time and effort of volunteers by not asking the same question in multiple places.

Join slack community

Our GitHub discussion boards are open for sharing ideas and plans for the Wagtail project.

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.org 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.org is 0xbed227b4daf93ff9, 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.org/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 - Free to use and modify for any purpose, including both open and closed-source code.

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

Assistiv Labs
Assistiv Labs provides the project with unlimited access to their remote testing with assistive technologies.