Add proposal form and view
This commit is contained in:
parent
8283693906
commit
9902039e3c
4 changed files with 162 additions and 7 deletions
|
|
@ -4,6 +4,7 @@ from django.utils.translation import pgettext_lazy
|
|||
from .views import (
|
||||
GovPlanDetailOGView,
|
||||
GovPlanDetailView,
|
||||
GovPlanProposeUpdateView,
|
||||
GovPlanSectionDetailView,
|
||||
search,
|
||||
)
|
||||
|
|
@ -22,6 +23,11 @@ urlpatterns = [
|
|||
GovPlanDetailOGView.as_view(),
|
||||
name="plan_og",
|
||||
),
|
||||
path(
|
||||
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>/propose-update/"),
|
||||
GovPlanProposeUpdateView.as_view(),
|
||||
name="propose_planupdate",
|
||||
),
|
||||
path(
|
||||
pgettext_lazy("url part", "<slug:gov>/<slug:section>/"),
|
||||
GovPlanSectionDetailView.as_view(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue