Skip to content

Commit a5ef61f

Browse files
committed
Merge remote-tracking branch 'upstream/main' into gmt-pinned-versions
* upstream/main: docs: add missing comma in 'categories, countries and ingredients' phrase in README docs: fix spacing in admin/editorial phrase in README Update tags list Fix RemovedInWagtail80 deprecation warning Upgrade to Wagtail 7.0 Upgrade to Django 5.2
2 parents 5ec847a + 847850b commit a5ef61f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bakerydemo/base/wagtail_hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CustomAccessibilityItem(AccessibilityItem):
3737

3838

3939
@hooks.register("construct_wagtail_userbar")
40-
def replace_userbar_accessibility_item(request, items):
40+
def replace_userbar_accessibility_item(request, items, page):
4141
items[:] = [
4242
CustomAccessibilityItem() if isinstance(item, AccessibilityItem) else item
4343
for item in items

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is a demonstration project for the amazing [Wagtail CMS](https://github.com/wagtail/wagtail).
44

5-
The demo site is designed to provide examples of common features and recipes to introduce you to Wagtail development. Beyond the code, it will also let you explore the admin / editorial interface of the CMS.
5+
The demo site is designed to provide examples of common features and recipes to introduce you to Wagtail development. Beyond the code, it will also let you explore the admin/editorial interface of the CMS.
66

77
Note we do _not_ recommend using this project to start your own site - the demo is intended to be a springboard to get you started. Feel free to copy code from the demo into your own project.
88

@@ -16,7 +16,7 @@ This demo is aimed primarily at developers wanting to learn more about the inter
1616
- Example of using a "base" app to contain misc additional functionality (e.g. Contact Form, About, etc.)
1717
- "StandardPage" model using mixins borrowed from other apps
1818
- Example of customizing the Wagtail Admin via _wagtail_hooks_
19-
- Example of using the Wagtail "snippets" system to represent bread categories, countries and ingredients
19+
- Example of using the Wagtail "snippets" system to represent bread categories, countries, and ingredients
2020
- Example of a custom "Galleries" feature that pulls in images used in other content types in the system
2121
- Example of creating ManyToMany relationships via the Ingredients feature on BreadPage
2222
- Lots more
@@ -229,10 +229,10 @@ By default, `django-csp` is not enabled since Wagtail isn't fully compatible yet
229229

230230
The `main` branch of this demo is designed to work with both the latest stable release and the latest `main` branch (development version) of Wagtail. To run the demo against a specific version of Wagtail, we have created [git tags](https://github.com/wagtail/bakerydemo/tags) for the latest commits that work with each feature release.
231231

232+
- [`v6.4`](https://github.com/wagtail/bakerydemo/releases/tag/v6.4)
232233
- [`v6.3`](https://github.com/wagtail/bakerydemo/releases/tag/v6.3)
233234
- [`v6.2`](https://github.com/wagtail/bakerydemo/releases/tag/v6.2)
234235
- [`v6.1`](https://github.com/wagtail/bakerydemo/releases/tag/v6.1)
235-
- [`v6.0`](https://github.com/wagtail/bakerydemo/releases/tag/v6.0)
236236

237237
See the [complete tags list](https://github.com/wagtail/bakerydemo/tags) for older releases.
238238

0 commit comments

Comments
 (0)