Add og image to section view
This commit is contained in:
parent
564f041b4a
commit
a98e7a7b3e
6 changed files with 42 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue