Add GovernmentPlanSection
This commit is contained in:
parent
9f983a1723
commit
947426a3b3
7 changed files with 214 additions and 10 deletions
|
|
@ -2,7 +2,7 @@ from django.urls import path
|
|||
from django.utils.translation import pgettext_lazy
|
||||
|
||||
from .admin import govplan_admin_site
|
||||
from .views import GovPlanDetailView
|
||||
from .views import GovPlanDetailView, GovPlanSectionDetailView
|
||||
|
||||
app_name = "govplan"
|
||||
|
||||
|
|
@ -13,4 +13,9 @@ urlpatterns = [
|
|||
GovPlanDetailView.as_view(),
|
||||
name="plan",
|
||||
),
|
||||
path(
|
||||
pgettext_lazy("url part", "<slug:gov>/<slug:section>/"),
|
||||
GovPlanSectionDetailView.as_view(),
|
||||
name="section",
|
||||
),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue