diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 43d77d2db3..6fc7fa8530 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -60,6 +60,7 @@ Changelog * Docs: Add more nuance to the database recommendations in performance page (Jadesola Kareem) * Docs: Add clarity that MultipleChooserPanel may require a chooser viewset and how the functionality is expected to work (Andy Chosak) * Docs: Clarify where documentation build commands should be run (Nikhil S Kalburgi) + * Docs: Add missing import to tutorial BlogPage example (Salvo Polizzi) * Maintenance: Update BeautifulSoup upper bound to 4.12.x (scott-8) * Maintenance: Migrate initialization of classes (such as `body.ready`) from multiple JavaScript implementations to one Stimulus controller `w-init` (Chiemezuo Akujobi) * Maintenance: Adopt the usage of of translate string literals using `arg=_('...')` in all `wagtailadmin` module templates (Chiemezuo Akujobi) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 5cdc73ce18..025eb67235 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -778,6 +778,7 @@ * Nandini Arora * Sai Srikar Dumpeti * Nikhil S Kalburgi +* Salvo Polizzi ## Translators diff --git a/docs/getting_started/tutorial.md b/docs/getting_started/tutorial.md index be73a7e791..de7ad20fc5 100644 --- a/docs/getting_started/tutorial.md +++ b/docs/getting_started/tutorial.md @@ -351,6 +351,7 @@ You can now access the URL, on your site. This give Now create a model and template for your blog posts. Edit `blog/models.py` to include: ```python +from django.db import models from wagtail.models import Page from wagtail.fields import RichTextField from wagtail.admin.panels import FieldPanel @@ -358,8 +359,7 @@ from wagtail.admin.panels import FieldPanel # add this: from wagtail.search import index - -# Keep the definition of BlogIndexPage model, and add the BlogPage model: +# keep the definition of BlogIndexPage model, and add the BlogPage model: class BlogPage(Page): date = models.DateField("Post date") diff --git a/docs/releases/6.0.md b/docs/releases/6.0.md index 498e0e1ecf..4878853435 100644 --- a/docs/releases/6.0.md +++ b/docs/releases/6.0.md @@ -89,6 +89,7 @@ The admin interface now supports right-to-left languages, such as Persian, Arabi * Add more nuance to the database recommendations in [](performance_overview) (Jadesola Kareem) * Add clarity that [`MultipleChooserPanel`](multiple_chooser_panel) may require a chooser viewset and how the functionality is expected to work (Andy Chosak) * Clarify where documentation build commands should be run (Nikhil S Kalburgi) + * Add missing import to tutorial BlogPage example (Salvo Polizzi) ### Maintenance