chore(dgsi/urls): Harmonize
This commit is contained in:
parent
b1d80b3837
commit
750b85d792
1 changed files with 20 additions and 4 deletions
|
@ -7,14 +7,22 @@ app_name = "dgsi"
|
|||
|
||||
urlpatterns = [
|
||||
# Misc views
|
||||
path("", views.IndexView.as_view(), name="dgn-index"),
|
||||
path(
|
||||
"",
|
||||
views.IndexView.as_view(),
|
||||
name="dgn-index",
|
||||
),
|
||||
path(
|
||||
"mentions-legales",
|
||||
TemplateView.as_view(template_name="dgsi/mentions-legales.html"),
|
||||
name="dgn-mentions-legales",
|
||||
),
|
||||
# Archives
|
||||
path("archives/", views.ArchiveListView.as_view(), name="dgn-archives"),
|
||||
path(
|
||||
"archives/",
|
||||
views.ArchiveListView.as_view(),
|
||||
name="dgn-archives",
|
||||
),
|
||||
path(
|
||||
"archives/<int:pk>/",
|
||||
views.ProtectedArchiveView.as_view(),
|
||||
|
@ -32,7 +40,11 @@ urlpatterns = [
|
|||
name="dgn-accept_legal_document",
|
||||
),
|
||||
# Account views
|
||||
path("accounts/profile/", views.ProfileView.as_view(), name="dgn-profile"),
|
||||
path(
|
||||
"accounts/profile/",
|
||||
views.ProfileView.as_view(),
|
||||
name="dgn-profile",
|
||||
),
|
||||
path(
|
||||
"accounts/profile/apple-config/",
|
||||
views.AppleProfileView.as_view(),
|
||||
|
@ -74,7 +86,11 @@ urlpatterns = [
|
|||
name="dgn-forbidden_account",
|
||||
),
|
||||
# Services views
|
||||
path("services/", views.ServiceListView.as_view(), name="dgn-services"),
|
||||
path(
|
||||
"services/",
|
||||
views.ServiceListView.as_view(),
|
||||
name="dgn-services",
|
||||
),
|
||||
path(
|
||||
"services/redirect/<int:pk>/",
|
||||
views.ServiceRedirectView.as_view(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue