0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00

Fix outdated reference to BlogCategory in tutorial

This commit is contained in:
Thibaud Colas 2023-09-01 16:22:00 +01:00 committed by GitHub
parent 1dbf2ec2df
commit 06a7bc6124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -847,7 +847,7 @@ class BlogPage(Page):
date = models.DateField("Post date")
intro = models.CharField(max_length=250)
body = RichTextField(blank=True)
authors = ParentalManyToManyField('blog.BlogCategory', blank=True)
authors = ParentalManyToManyField('blog.Author', blank=True)
# Add this:
tags = ClusterTaggableManager(through=BlogPageTag, blank=True)