Release notes for #7774

pull/7794/head
Andy Babic 2021-12-16 15:32:12 +00:00 zatwierdzone przez Andy Babic
rodzic d00a4c8a65
commit e9eadb65c7
3 zmienionych plików z 16 dodań i 0 usunięć

Wyświetl plik

@ -16,6 +16,7 @@ Changelog
* Add `page_url_path_changed` signal for pages (Andy Babic)
* Fix: 'Page move' actions being incorrectly logged as 'Page reorder' under some circumstances (Andy Babic)
* Add `ever_live()` and `never_live()` filters to `PageQuerySet` (Andy Babic)
* Add automatic redirect creation (Andy Babic, with sponsorship from [The National Archives](https://www.nationalarchives.gov.uk))
2.15.2 (xx.xx.xxxx) - IN DEVELOPMENT

Wyświetl plik

@ -45,3 +45,5 @@ The features below were developed thanks to the sponsorship of these organsation
- Telepath for StreamField editing - [YouGov](https://yougov.co.uk/)
- Commenting - [The Motley Fool](https://www.fool.com/)
- Automatic redirect creation - [The National Archives](https://www.nationalarchives.gov.uk)

Wyświetl plik

@ -8,6 +8,19 @@
## What's new
### Automatic redirect creation
Wagtail projects using the `wagtail.contrib.redirects` app can now enable 'automatic redirect creation' - which creates redirects for pages and their descedants whenever a URL-impacting change is made; such as a slug being changed, or a page being moved to a different part of the tree.
This feature should be benefitial to most 'standard' Wagtail projects and, in most cases, will have only a minor impact on responsiveness when making such changes.
It can be enabled by adding the following to your project settings:
```python
WAGTAILREDIRECTS_AUTOCREATE = True
```
Thank you to [The National Archives](https://www.nationalarchives.gov.uk) for kindly sponsoring this feature.
### Other features