Add og image to section view

This commit is contained in:
Stefan Wehrmeyer 2022-03-16 19:42:07 +01:00
parent 564f041b4a
commit a98e7a7b3e
6 changed files with 42 additions and 0 deletions

View file

@ -37,6 +37,10 @@ class GovPlanSectionDetailView(GovernmentMixin, DetailView):
return context
class GovPlanSectionDetailOGView(GovPlanSectionDetailView):
template_name = "froide_govplan/section_og.html"
class GovPlanDetailView(GovernmentMixin, DetailView):
slug_url_kwarg = "plan"
template_name = "froide_govplan/detail.html"