navigation & breadcrumbs

This commit is contained in:
bkfox
2023-12-12 20:07:58 +01:00
parent eaa1e2412a
commit 46a9008cda
29 changed files with 454 additions and 347 deletions

View File

@ -33,9 +33,9 @@ class EpisodeListView(PageListView):
model = Episode
filterset_class = EpisodeFilters
parent_model = Program
attach_to_value = StaticPage.ATTACH_TO_EPISODES
attach_to_value = StaticPage.Target.EPISODES
class PodcastListView(EpisodeListView):
attach_to_value = StaticPage.ATTACH_TO_PODCASTS
attach_to_value = StaticPage.Target.PODCASTS
queryset = Episode.objects.published().with_podcasts().order_by("-pub_date")