Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Nov 4, 2024
1 parent 7a112a1 commit bfb0833
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion etna/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@ def blogs_list_view(self, request):
for blog in queryset.iterator():
blogs_children = blog.get_children().type(BlogPage).live()
for restricted_page in restricted_pages:
blogs_children = blogs_children.not_descendant_of(restricted_page, inclusive=True)
blogs_children = blogs_children.not_descendant_of(
restricted_page, inclusive=True
)
blogs_children = DefaultPageSerializer(blogs_children, many=True)
if blogs_children.data:
blogs += blogs_children.data
Expand Down

0 comments on commit bfb0833

Please sign in to comment.