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

@ -5,6 +5,7 @@ from .views import (
GovPlanDetailOGView,
GovPlanDetailView,
GovPlanProposeUpdateView,
GovPlanSectionDetailOGView,
GovPlanSectionDetailView,
search,
)
@ -33,4 +34,9 @@ urlpatterns = [
GovPlanSectionDetailView.as_view(),
name="section",
),
path(
pgettext_lazy("url part", "<slug:gov>/<slug:section>/_og/"),
GovPlanSectionDetailOGView.as_view(),
name="section_og",
),
]