✨ Add shortlinks for govplan updates
This commit is contained in:
parent
da21081be0
commit
fc64045cde
3 changed files with 26 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ from .views import (
|
|||
GovPlanSectionDetailOGView,
|
||||
GovPlanSectionDetailView,
|
||||
search,
|
||||
update_shortlink,
|
||||
)
|
||||
|
||||
app_name = "govplan"
|
||||
|
|
@ -39,4 +40,9 @@ urlpatterns = [
|
|||
GovPlanSectionDetailOGView.as_view(),
|
||||
name="section_og",
|
||||
),
|
||||
path(
|
||||
pgettext_lazy("url part", "<slug:gov>/u/<int:obj_id>/"),
|
||||
update_shortlink,
|
||||
name="planupdate_shortlink",
|
||||
),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue