Fix outdated reference to BlogCategory in tutorial

pull/10849/head
Thibaud Colas 2023-09-01 16:22:00 +01:00 zatwierdzone przez GitHub
rodzic 1dbf2ec2df
commit 06a7bc6124
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)