Add separate admin site for govplan
This commit is contained in:
parent
22b7874593
commit
829315c1dc
2 changed files with 10 additions and 0 deletions
|
|
@ -1,11 +1,13 @@
|
|||
from django.urls import path
|
||||
from django.utils.translation import pgettext_lazy
|
||||
|
||||
from .admin import govplan_admin_site
|
||||
from .views import GovPlanDetailView
|
||||
|
||||
app_name = "govplan"
|
||||
|
||||
urlpatterns = [
|
||||
path("admin/", govplan_admin_site.urls),
|
||||
path(
|
||||
pgettext_lazy("url part", "<slug:gov>/plan/<slug:plan>/"),
|
||||
GovPlanDetailView.as_view(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue