from django.urls import path from django.utils.translation import pgettext_lazy from .views import ( GovPlanDetailOGView, GovPlanDetailView, GovPlanProposeUpdateView, GovPlanSectionDetailView, search, ) app_name = "govplan" urlpatterns = [ path("search/", search, name="search"), path( pgettext_lazy("url part", "/plan//"), GovPlanDetailView.as_view(), name="plan", ), path( pgettext_lazy("url part", "/plan//_og/"), GovPlanDetailOGView.as_view(), name="plan_og", ), path( pgettext_lazy("url part", "/plan//propose-update/"), GovPlanProposeUpdateView.as_view(), name="propose_planupdate", ), path( pgettext_lazy("url part", "//"), GovPlanSectionDetailView.as_view(), name="section", ), ]