mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-17 06:20:31 +00:00
Make tagging example not rely on an unmentioned 'blogs' method - fixes #3602
This commit is contained in:
parent
609683ea2c
commit
2f2bfa0159
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ Now that we have the many-to-many tag relationship in place, we can fit in a way
|
|||
...
|
||||
def serve(self, request):
|
||||
# Get blogs
|
||||
blogs = self.blogs
|
||||
blogs = BlogPage.objects.child_of(self).live()
|
||||
|
||||
# Filter by tag
|
||||
tag = request.GET.get('tag')
|
||||
|
|
|
|||
Loading…
Reference in a new issue